Archive for December, 2008
FAQ: How to upload files in php?
Uploading files in web applications is a common practice. Thanks to php which makes it simple to implement.
This post will present a simple example of how to upload files using php.
Before any code, first let us understand the file upload process .
User is displayed a page with a file select box. She then selects a [...]
Read the rest of this entry >>
Merry Christmas
May the true spirit of this season fill your life all throughout. Wish you all a very Merry Christmas.
For geeks : Do not forget to check A Silicon Valley Christmas Tale on Techcrunch.
A poem is written by a Guest Author on techcrunch. It’s a funny poem about Bill Gates. A must read.It is really hillarious [...]
Read the rest of this entry >>
Another flaw in IE : 10,000 sites compromised
In my previous post I discussed about the security flaws and other shortcomings in IE. Incidentally, the same day a news article appeared on BBC News which reported about a new security vulnerability found in IE7. ( Thanks to Jyotsna for passing this news).
The article describes about a new security hole found in IE7 exploiting [...]
Read the rest of this entry >>
When will you stop using IE?
I am tired of making web applications work on IE. I can understand the frustration of this guy who created a pie chart for breakdown of time spent in web development. Making an application work on IE takes most of the time. Be it the issue of setting innerHTML of select or setting innerhtml or [...]
Read the rest of this entry >>
FAQ: How to fix php warning – “Cannot modify header information – headers already sent”
You must have seen this error message quite a lot of times.
Cannot modify header information – headers already sent
The following code sample will throw the same error:
//this will result in header error
<html>
<head><head>
<body>
<?php
header("Location:http://www.google.com");
?>
</body>
</html>
<?php ob_end_flush(); ?>
Outputting any html to browser before calling functions like session_start, header or any such function which sends http headers to the browser [...]
Read the rest of this entry >>

