file download
| From: | Aleksey Yarilovets | Date: | Wed, 23 May 2001 08:43:57 +0000 |
| Subject: | file download | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56446@lists.php.net to get a copy of this message | ||
Hi everyone!
I need user to dowload a file from my server ( Apache ), what i do is:
<?
header("Content-Type: application/download");
header("Content-Disposition: attachment; filename='report.txt'");
echo "file contents";
?>
It was working till now but sudenly i start recieve the message from
iexplorer:
IE can not download ScriptName.php file from the server.
IE was not able to open this site. The requested site either unavailable or
can not be found.
:(((((((((((((
Does somebody knows what is going on?
Thanks, Alexey.
Email: a.yarilovits@leadip.com
ICQ# 101975252