Page 1 of 1
How to create a web service with PHP ???
Posted: Thu Feb 26, 2009 3:34 pm
by Lexus IS
Hi,
I need help about how to create a web service using PHP.
Please help me, with a simple example is all for me.
thanks..
Re: How to create a web service with PHP ???
Posted: Thu Feb 26, 2009 9:39 pm
by alex.barylski
http://www.whatever.com/test.php
From another server have a script do this:
Code: Select all
<?php
echo file_get_contents('http://www.whatever.com/test.php');
That is all there is to a very basic web service. Go read up on REST/SOAP and XML as those are what you really need to learn if you are to fully appreciate web services.
Re: How to create a web service with PHP ???
Posted: Fri Feb 27, 2009 6:16 am
by Lexus IS
Thanks PCSpectra for your help.
If you have other example more advanced, please post it.
Thanks!!!!!