| 2mk | Feb 9th, 2008 1:07 am | |
| Call PHP webservices with Ajax I create web services with php, but i need to access it using Ajax. Anyone can help me ?
This my simple web services :
<?php
include('nusoap.php');
$server= new soap_server;
$server->register('LoginPresenter');
//Login Presenter
function LoginPresenter($user_mail, $user_password)
{
if(!$user_mail or !$user_password)
{
return new soap_fault(
'Client', '',
'Parameter anda tidak lengkap', ''
);
}else
{
........................
return $user;
}
}
$server->service($HTTP_RAW_POST_DATA);
exit();
?> |
| All times are GMT -4. The time now is 4:07 pm. | |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC