Getting index.php while downloading another file

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
ponna85
Forum Newbie
Posts: 2
Joined: Thu Jul 16, 2009 1:22 am

Getting index.php while downloading another file

Post 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
ponna85
Forum Newbie
Posts: 2
Joined: Thu Jul 16, 2009 1:22 am

Re: Getting index.php while downloading another file

Post 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
Post Reply