Page 1 of 1

Getting index.php while downloading another file

Posted: Thu Jul 16, 2009 1:25 am
by ponna85
In my php script,when i try to download a file which is stored in a folder,i m getting a source code of that page itself.Its not happening all the times.At some instant i get the correct file

Re: Getting index.php while downloading another file

Posted: Thu Jul 16, 2009 2:50 am
by ponna85
This problem solved,alli did is jus comment the header content-length.I don know how,but it works.If anyone could explain this,its great. 8O