June 22nd, 2006, 04:56 AM
That's a good question, and I believe the answer is no. I remember trying that once and that header you're returning looks very familiar. The reason I tried it is because I use command line with...
February 13th, 2006, 09:07 PM
Do you have register_globals on? I think to do it like that you need register_globals on, unless you didn't include some code where you set $file_id = $_GET['file_id']. Otherwise, make all...
February 13th, 2006, 05:01 PM
If you were using the same code as valhallen gave, then it may not have worked if the id you were trying was 0. 0 counts as empty. Otherwise I don't see why it didn't work for you. Could we see...
February 13th, 2006, 04:04 AM
Don't put the html stuff in, to do it that way you'll want to only have the echo of file_get_contents(). I think there's another way to load the page then have a download dialog box appear. ...
February 13th, 2006, 01:55 AM
I'm guessing you're doing this through php to have a download counter and hide where the file is on the server? If my second guess is correct you can also have your downloads in a folder that is no...