Jump to content

cURL - how grab output of the url posting to?


johnsmith153

Recommended Posts

I am using cURL in PHP and will POST to a page using an url like this:

www.site.com/page.php?a=12345&b=abcd etc.

 

If I type this into a web browser I get something displayed on screen like this:

1455,7373

 

There will never be any more info than this.

 

What I need to know is how do I do cURL so it receives these values?

 

I can POST using cURL but then want to be adding something at the end like:

$var = received from cURL;
//$var now holds "1455,7373"

Is this possible?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.