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..
How to create a web service with PHP ???
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: How to create a web service with PHP ???
http://www.whatever.com/test.php
From another server have a script do this:
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.
Code: Select all
<?php
echo 'hello wrold';
Code: Select all
<?php
echo file_get_contents('http://www.whatever.com/test.php');
Re: How to create a web service with PHP ???
Thanks PCSpectra for your help.
If you have other example more advanced, please post it.
Thanks!!!!!
If you have other example more advanced, please post it.
Thanks!!!!!