note 69887 added to function.header
| From: | msh at 247ms dot com | Date: | Mon, 25 Sep 2006 09:33:55 +0000 |
| Subject: | note 69887 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117619@lists.php.net to get a copy of this message | ||
If you are planing to use AJAX - that is having a script loading a page "behind the scene"
which is inserted into the current page this is essential.
I'm running a danish site "worldofpictures.dk" which uses AJAX to import the images
when clicked on - together with a comment. This comment breaks unless I add:
header('Content-type: text/html; charset=ISO-8859-1');
I tried having this as a meta tag in the HTML page but that was not enough!!
----
Server IP: 195.184.96.15
Probable Submitter: 213.150.58.116
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/69887
Del: integrated -- https://master.php.net/note/delete/69887/integrated
Del: useless -- https://master.php.net/note/delete/69887/useless
Del: bad code -- https://master.php.net/note/delete/69887/bad+code
Del: spam -- https://master.php.net/note/delete/69887/spam
Del: non-english -- https://master.php.net/note/delete/69887/non-english
Del: in docs -- https://master.php.net/note/delete/69887/in+docs
Del: other reasons-- https://master.php.net/note/delete/69887
Reject -- https://master.php.net/note/reject/69887
Search -- https://master.php.net/manage/user-notes.php