List Info

Thread: note 79012 added to function.header




note 79012 added to function.header
user name
2007-11-06 20:55:39
If you want your download script to work in Safari you'll
have to print quotation marks around the filename:
header('Content-Disposition: attachment;
filename="'.$fileName.'"');
,otherwise Safari will just save the file as
'scriptname.php'.
----
Server IP: 83.137.20.135
Probable Submitter: 84.241.213.48
----
Manual Page -- http
://www.php.net/manual/en/function.header.php
Edit        -- https://master
.php.net/note/edit/79012
Del: integrated  -- h
ttps://master.php.net/note/delete/79012/integrated
Del: useless     -- http
s://master.php.net/note/delete/79012/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/79012/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/79012/spam
Del: non-english -- 
https://master.php.net/note/delete/79012/non-english
Del: in docs     -- http
s://master.php.net/note/delete/79012/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/79012
Reject      -- https://mast
er.php.net/note/reject/79012
Search      -- https://
master.php.net/manage/user-notes.php

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


note 79012 deleted from function.header by ezyang
user name
2007-11-06 21:54:58
Note Submitter: ik at dynamique dot nl
Reason: useless

----

If you want your download script to work in Safari you'll
have to print quotation marks around the filename:
header('Content-Disposition: attachment;
filename="'.$fileName.'"');
,otherwise Safari will just save the file as
'scriptname.php'.

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


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )