How to make a post request in PHP

Status
Not open for further replies.

louie

New Member
Can you elaborate?
Why can you not use a form?
 

Solonox

New Member
Something like this should see ya through... maybe? Just use C# ;) much better .. *Ducks for cover from the attacks* haha ;)

$curlOb = curl_init();
curl_setopt($curlOb, CURLOPT_URL,"http://www.yourdomain.com");
curl_setopt($curlOb, CURLOPT_post, 1);
curl_setopt($curlOb, CURLOPT_postFIELDS, "param1=$param1_value&param2=$param2_value");curl_exec ($curlOb);
curl_close ($curlOb);
 
Status
Not open for further replies.
Top