Hi,

I use the following headers to force open a download dialog box. However, my download 
files are located in other directories/subdirectories. How can I specify a download 
path in the header? The 'Content-Location' header does not work in this case. Can 
someone please help?

header("Content-type: application/octet-stream");
header("Content-Length: $filelength");
header("Content-Disposition: attachment; filename=$fname;");

Thanks.

Rho

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to