- file_get_contents: documentation ( source)
- var_dump: documentation ( source)
- stream_context_create: documentation ( source)
- http_build_query: documentation ( source)
<?php
$postdata = http_build_query(
array(
'recommend_id' => 'dot-irecommendthis-6644',
'suffix' => '',
'action' => 'dot-irecommendthis'
)
);
var_dump(
file_get_contents(
'http://rmsconf.com/paris/wp-admin/admin-ajax.php',
false,
stream_context_create(
array(
'http' => array(
'method' => 'POST',
'content' => $postdata
)
)
)
)
);