note 14660 added to function.header.php
| From: | ery at dawid dot uni dot wroc dot pl | Date: | Wed, 08 Aug 2001 14:00:57 +0000 |
| Subject: | note 14660 added to function.header.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16474@lists.php.net to get a copy of this message | ||
I give my users a possibility of opening various types of files from mysql by:
header("Content-Type: ".$file_t);
header("Content-Disposition: filename=".$file_n);
echo $file;
What must I do in order to open the file in new browser window?
Now it is done in the same window in which my script works.
Best regards,
Ernest
http://www.php.net/manual/en/function.header.php