note 72377 added to function.htmlspecialchars

From: Date: Tue, 16 Jan 2007 21:25:08 +0000
Subject: note 72377 added to function.htmlspecialchars
Groups: php.notes 
Request: Send a blank email to php-notes+get-121808@lists.php.net to get a copy of this message
If you seem to have a problem with rendering dynamic RSS files from a database - try using htmlspecialchars() or htmlentities() on the text you are rendering. Since XML and RSS is very strict about what is allowed inside nodes, you need to make sure everything is "A-OK" according to XML standards ... Especially if the database you're pulling data from is fi. Latin-Swedish encoding, which seems to be the standard setting for MySQL databases. ---- Server IP: 193.190.198.20 Probable Submitter: 84.196.131.9 ---- Manual Page -- http://www.php.net/manual/en/function.htmlspecialchars.php Edit -- https://master.php.net/note/edit/72377 Del: integrated -- https://master.php.net/note/delete/72377/integrated Del: useless -- https://master.php.net/note/delete/72377/useless Del: bad code -- https://master.php.net/note/delete/72377/bad+code Del: spam -- https://master.php.net/note/delete/72377/spam Del: non-english -- https://master.php.net/note/delete/72377/non-english Del: in docs -- https://master.php.net/note/delete/72377/in+docs Del: other reasons-- https://master.php.net/note/delete/72377 Reject -- https://master.php.net/note/reject/72377 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121808) next »