"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do you recomend the same for downloading of a file.  I have a few zip
files
> that need to be protected too.  Do I have to open the file using fopen and
> then write it to the users machine using fwrite?
>
> Thanks,
>
> Aaron

You can do this for any type of file. Set the aprropriate headers and then
use readfile():
http://de2.php.net/manual/en/function.readfile.php

Regards, Torsten

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

Reply via email to