Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 1 other subscriber
How to post request without curl
i have used file_get_contents().
The PHP manual has a nice example here. This is just copy past from the manual:
$postdata = http_build_query(
'var1' => 'some content',
'var2' => 'doh'
$opts = array('http' =>
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => $postdata
$context = stream_context_create($opts);
$result = file_get_contents('http://example.com/submit.php', false, $context);