Ask a Question related to PHP Development, Design and Development.
-
Anthoni Gardner #1
SimpleXML and Problems between two servers
Hello there,
I have developed some php scripts to handle XML using the SimpleXML engine
that comes with PHP5. When I come to upload them to our space, the scripts
do not work. It is failing on the SimpleXML section for some reason and I
can not work out why.
I am using the same version on my development as is on our web server
(except I am running Windows and they are running Linux) and the scripts
work perfectly on my machine.
The xml that needs parsing is located it is dynamically generated and
another script builds it from the php://stream
[url]www.mystreaming.net/_handler/test.xml[/url]
As I say the scripts work perfectly fine on my development machine. Here is
a small snippet of one
$xml = simplexml_load_string($xmlstring);
$userid = $xml->userid;
echo $userid;
//On my machine this spits out anthoni, but on the webserver it
//doesnt spit out anything at all
Any clues as to what is going on?
Regards
Anthoni
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
Anthoni Gardner Guest
-
#38604 [Opn->Csd]: Memory leak in SimpleXML ?
ID: 38604 Updated by: iliaa@php.net Reported By: apachephp at gmail dot com -Status: Open +Status: ... -
Frontend Web Servers connect to Coldfusion Servers
I need some help getting a front end web server cluster (iis) talking with the backend colfusion app cluster (j2ee install). Do I have to install... -
[PHP-DEV] simplexml and dom interop
------=_NextPart_000_004E_01C39B05.50B6E0D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If... -
[PHP-DEV] SimpleXML bug
The following script <?php $root = simplexml_load_string(' <root> <child /> </root> '); foreach ($root->child as $child) { -
Problems migrating Berkeley DB files across servers
Need some help from someone who knows.. I moved a MovableType installation from one server to another hoping it would just work... it didn't. ...



Reply With Quote

