php script directory webmaster resources
php scripts
Best Rated
asp scripts
New Scripts
java scripts
Popular Scripts
perl scripts
Advanced Search
   
Home About Us FAQ
Add New Script Edit Script Contact Us
PHP :: Communication Tools :: Sending XML files to a Webservice (Using cURL)
Sending XML files to a Webservice (Using cURL)    Hits: 1


Description:
Calling Web Services. Great fun!! … when it works. One of the biggest challenges is to send the XML document and get the response back, an XML document in particular. I have come up with a PHP function that hides all the necessary logic from the user and handles the posting of the XML document and returns whatever the server responds. It relies on PHP’s cURL library (so you need it properly configured on your server in order to work). All you need to do is create the XML document, choose the URL (and port) to which you want to post the XML document and the function takes care of the rest. Below is the function code. As you can see, the function can handle SSL-enabled servers, something that provides a great advantage, since many Web services run on HTTPS.


 Resource Specification
Platform(s): Linux - Unix - Windows
Date Added: November 14, 2007
Script ID: 2792



Reviews by Other Users

Average Rating This Year (0.00 out of 5) from 0 reviews

Average Rating Last Year (0.00 out of 5) from 0 reviews

Read Reviews

Post Review


 


Home | About Us | FAQ | Add a Listing | Login | Contact Us | Partners | Getting Rated

php script directory | php email scripts | webmaster resources | php scripts | free web site templates


email marketing | online store software | web file manager | customer support software | knowledge base software
email forms | cheap web hosting | viral marketing software | affiliate software
email hosting | applicant tracking software | php article software

Copyright © 2004 ClickitScripts.com. All rights reserved.