Click here to Skip to main content
15,922,584 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Every one,
I am unable to call php web service through Javascript.
Can you any one help to me to solve this issue.

Thanks and Regards,
Bhaskar
Posted
Comments
Mohibur Rashid 5-May-14 5:46am    
AJAX would work.

 
Share this answer
 
You can use XMLHttpRequest to call PHP service. Such as
C#
var xhr = new XMLHttpRequest();
xhr.open('POST', 'xxx.php', true);

Here is a tutorial about how to use JavaScript to send HTML canvas data to PHP server[^].
You can also read the tutorial PHP File Upload[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900