Hi all,

I've tried the following code:

$path = http://site.com/prg/teledisk223.zip;
print "Location:$path\n\n";

This prints the zip file on my screen.
.... Or better said, it doesn't print anything but if I refresh the screen,
it prints the zip file.

Why doesn't it download the file?

And 2 more related questions:
1. Why if I use:
$path="/prg/teledisk.zip";
.... I mean without the http://server_name,
it starts downloading, but it shows me that it wants to download the script
file and not the $path file.

2. More important. Do I have another solution for downloading a file?
Maybe that solution will work with a download manager like GetRight.

Thanks a lot.

Teddy,
[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to