Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to server to server call

Status
Not open for further replies.

mhamilton3

Programmer
Oct 31, 2001
129
Hello,
I have to call a 3rd party service. I can call this service either by a simple server to server http call or via SOAP service. I have found a bunch of sites that talk about SOAP, but no concrete examples (I have to talk to .NET). I have also read .NET has issues from PHP. I am looking to do what ever is easiest. I know in PERL I can enter
Code:
$var = get("myurl")
and it will return whatever the URL returns - it can be an XML stream or a web page, I parse in on the other side. I Can I do that in PHP? Thanks in advance.

- Mark
 
Although cURL is a good option, it may be more complication than necessary. You can use fopen() with a URL and fetch a page.

If you need to submit POST-method data to a CGI, you can use cURL or the example in faq434-2502



Want the best answers? Ask the best questions! TANSTAAFL!
 
Thank you both, I belive cURL is what I am looking for. The example in the FAQ is very good as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top