Re: [PHP] File Download Problems

2004-09-16 Thread Marek Kilimajer
John Holmes wrote: From: "PHP Junkie" <[EMAIL PROTECTED]> As my link to the download file, I changed it to And changed the code in the download file to How are you validating $F and ensuring it's not a path to any file on your server? imsafm_user_dl.php?F=/home/path/to/secret/file.txt It's a F

Re: [PHP] File Download Problems

2004-09-16 Thread John Holmes
From: "PHP Junkie" <[EMAIL PROTECTED]> As my link to the download file, I changed it to And changed the code in the download file to How are you validating $F and ensuring it's not a path to any file on your server? imsafm_user_dl.php?F=/home/path/to/secret/file.txt ---John Holmes... -- PHP G

Re: [PHP] File Download Problems

2004-09-16 Thread PHP Junkie
Ave, I made a change last evening, and since the change.. It seems to be working fine. Thus far I haven't had the 1 KB downloaded file problem. I have been trying all evening and this morning, from different places, and somehow right now it seems to be working fine. What I simply did was this:

Re: [PHP] File Download Problems

2004-09-16 Thread Chris Dowell
Chances are your 1KB file contains an error message - try changing the Content-Type to text/plain or text/html to see what PHP is throwing at you Cheers Chris Marek Kilimajer wrote: PHP Junkie wrote: Ave, I've been having a very nagging and frustrating problem for a while and I hope someone can

Re: [PHP] File Download Problems

2004-09-15 Thread Marek Kilimajer
PHP Junkie wrote: Ave, I've been having a very nagging and frustrating problem for a while and I hope someone can help me out with this. I created a simple File Manager application, a lot of you already know about it as you helped me with coding at different stages. The problem is this: The Downloa

[PHP] File Download Problems

2004-09-15 Thread PHP Junkie
Ave, I've been having a very nagging and frustrating problem for a while and I hope someone can help me out with this. I created a simple File Manager application, a lot of you already know about it as you helped me with coding at different stages. The problem is this: The Download. When you dow