0
API and Web Service
pls help me to create api and webservices in php
4 Réponses
+ 1
what help do you need?
php is built-in into web server (Apach or other) and procesdef rewuedy, which are received from the web server.
Webservices (typically, but not necessarily) transmit request parameters by method POST. PHP they are accessed through the superglobal array _POST
Example webservice will return name by nick.
<?
$nick = _POST['name'];
$name = any_function_which_find_name_by_nick($nick);
echo $nane;
+ 1
Hey. I make easy web-service on php. Do you need example?
0
thanks
0
plz make example