Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-09 Thread Richard Quadling
On 7 March 2011 17:29, Marc Guay marc.g...@gmail.com wrote: Hi Richard, It's not a SOAP service, and I've actually decided to have ask the client to upgrade their server software before continuing.  But for the sake of study: Depending upon your requirement, you could use

Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-09 Thread Marc Guay
The ease I had in running multiple versions of PHP on Windows would suggest it should be pretty easy to do for non-windows. Funny and true. Thanks for the tips Richard, I've suggested that they upgrade their hosting package. Marc -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-08 Thread Jim Lucas
On 3/7/2011 8:16 AM, Marc Guay wrote: Hi folks, I've stumbled into a project involving a server running PHP4 without cURL. The script fetches data from an XML webservice and deals with it. Is http://ca2.php.net/xml_parser_create the place to start? Any tips (besides updating PHP)?

[PHP] Help translating PHP5 code to PHP4.

2011-03-07 Thread Marc Guay
Hi folks, I've stumbled into a project involving a server running PHP4 without cURL. The script fetches data from an XML webservice and deals with it. Is http://ca2.php.net/xml_parser_create the place to start? Any tips (besides updating PHP)? Here's an example of the PHP5 code: $url =

Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-07 Thread sexyprout
Just take another web host. 2011/3/7 Marc Guay marc.g...@gmail.com Hi folks, I've stumbled into a project involving a server running PHP4 without cURL. The script fetches data from an XML webservice and deals with it. Is http://ca2.php.net/xml_parser_create the place to start? Any tips

Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-07 Thread Richard Quadling
On 7 March 2011 16:16, Marc Guay marc.g...@gmail.com wrote: Hi folks, I've stumbled into a project involving a server running PHP4 without cURL.  The script fetches data from an XML webservice and deals with it.  Is http://ca2.php.net/xml_parser_create the place to start?  Any tips (besides

Re: [PHP] Help translating PHP5 code to PHP4.

2011-03-07 Thread Marc Guay
Hi Richard, It's not a SOAP service, and I've actually decided to have ask the client to upgrade their server software before continuing. But for the sake of study: Depending upon your requirement, you could use simplexml_load_string() to convert an XML string into a native PHP object