note 76089 added to function.xml-parse

From: Date: Fri, 29 Jun 2007 13:14:34 +0000
Subject: note 76089 added to function.xml-parse
Groups: php.notes 
Request: Send a blank email to php-notes+get-128086@lists.php.net to get a copy of this message
One note about magic quotes: magic_quotes_runtime needs to be disabled before parsing XML. It can cause strange errors during parsing. Just add the following at the top of your program: set_magic_quotes_runtime(0); If you need magic quotes you can use stripslashes or save the current magic quotes setting with get_magic_quotes_runtime() then disable and parse your XML and then restore the previous magic quotes setting. ---- Server IP: 208.69.120.35 Probable Submitter: 12.156.139.150 ---- Manual Page -- http://www.php.net/manual/en/function.xml-parse.php Edit -- https://master.php.net/note/edit/76089 Del: integrated -- https://master.php.net/note/delete/76089/integrated Del: useless -- https://master.php.net/note/delete/76089/useless Del: bad code -- https://master.php.net/note/delete/76089/bad+code Del: spam -- https://master.php.net/note/delete/76089/spam Del: non-english -- https://master.php.net/note/delete/76089/non-english Del: in docs -- https://master.php.net/note/delete/76089/in+docs Del: other reasons-- https://master.php.net/note/delete/76089 Reject -- https://master.php.net/note/reject/76089 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128086) next »