User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 329,220 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,234 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 562 | Replies: 0
Reply
Join Date: Feb 2008
Posts: 1
Reputation: 2mk is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
2mk 2mk is offline Offline
Newbie Poster

Call PHP webservices with Ajax

  #1  
Feb 9th, 2008
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();
?>
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 10:33 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC