Hi there,
Not overly technical on server side problems, but trying to retrive XML in a php page but not working. Does my server need SOAP installed to work correctly. I have PHP5 on server.
cheers
justin
PHP XML & SOAP
Moderator: General Moderators
-
nowaydown1
- Forum Contributor
- Posts: 169
- Joined: Sun Apr 27, 2008 1:22 am
Re: PHP XML & SOAP
Hey Justin,
Welcome to the forum! We need a few more details to be able to give you some guidance.
* What are you trying to do exactly? (Web service request with SOAP, fetching XML for an RSS feed, something else?)
* What isn't working about it? (Do you get any errors or anything)
* Do you have some code you could post with what you've already tried?
If you just want to get some XML, and it isn't SOAP, I would have a look at CURL (http://us.php.net/manual/en/function.curl-init.php)
Welcome to the forum! We need a few more details to be able to give you some guidance.
* What are you trying to do exactly? (Web service request with SOAP, fetching XML for an RSS feed, something else?)
* What isn't working about it? (Do you get any errors or anything)
* Do you have some code you could post with what you've already tried?
If you just want to get some XML, and it isn't SOAP, I would have a look at CURL (http://us.php.net/manual/en/function.curl-init.php)
Re: PHP XML & SOAP
cheers for your help guys.
Whist trying the curl_init() commands i managed to get the data off the form but i'm not really sure how to edit it.
Ideally i would like simplexml() to work. I'm trying to run an external file on a different web server to mine then my server will edit the data but when i run my script i get the return of:
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "https://www.carwebuk.com/CarweBVRRB2Bpr ... ion=0.19.1" in /home/z/i/zico/public_html/carweb_test/test.php on line 1
You prob cant run this command yourself as its tied in by a specific IP address. I thought simplexml was part of PHP5. I recently upgraded from PHP4 but it doesn't work. Maybe it cant retrive data from another server? Does my server need SOAP enabled for XML to work?
Whist trying the curl_init() commands i managed to get the data off the form but i'm not really sure how to edit it.
Ideally i would like simplexml() to work. I'm trying to run an external file on a different web server to mine then my server will edit the data but when i run my script i get the return of:
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "https://www.carwebuk.com/CarweBVRRB2Bpr ... ion=0.19.1" in /home/z/i/zico/public_html/carweb_test/test.php on line 1
You prob cant run this command yourself as its tied in by a specific IP address. I thought simplexml was part of PHP5. I recently upgraded from PHP4 but it doesn't work. Maybe it cant retrive data from another server? Does my server need SOAP enabled for XML to work?