PHP post without cUrl
PHP:
-
<?php
-
-
$postdata = http_build_query(
-
'var1' => 'some content',
-
'var2' => 'doh'
-
)
-
);
-
'method' => 'POST',
-
'header' => 'Content-type: application/x-www-form-urlencoded',
-
'content' => $postdata
-
)
-
);
-
-
?>
Categories: php_mysql