Re: LoadXML trouble

From: Date: Tue, 11 Dec 2007 21:51:48 +0000
Subject: Re: LoadXML trouble
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-265721@lists.php.net to get a copy of this message
Dani Castaños wrote: > Hi Nathan! > > Thank you for all your help! > Problem has been fixed... > > The thing is, when request is sent, there is a little difference in what > i get... I get <?xml version=\"1.0\"> and so on... > These backslashes make the loadXML not load data properly... I've put an > str_replace and the problem has been solved ah, that will be this: http://php.net/manual/en/ref.info.php#ini.magic-quotes-gpc you have just learned to carefully study the differences between dev and production php.ini settings (e.g. via phpinfo()) when you run into these kind of problems :-) > > Again... Thank you very much! >

« previous php.general (#265721) next »