Like this?

<?php

header("Content-Type: application/download\n");
header("Content-Disposition: filename=\"$file\"");
$fn = fopen("$file" , "r");
fpassthru($fn);

?>

Best Regards
Fredrik A. Takle
Bergen, Norway

"Kaab Kaoutar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
> I looked in the php manual for how to download a file
> bbut in vain.
> Thanks
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to