Today while working on Minerva SEO. I found this really cool class which easily helps me query pages with POST data and GET queries (that’s if I insert them in the url)

This class simply grabs the data from a website when you send POST data to it.

This is how you use it:

require_once(’class_communication.php’);
$com = new class_communication();
$data = $com->communication_send_data(’http://api.moreover.com/ping?u=xxxx’,array(’u'=>’xxx’));
print_r($data);

This simply sends a POST to moreover.com and whatever is being displayed when the script grabs it is in the $data variable and you just simply echo it.

This is useful if you want to content grab websites and use that information to run queries or get stats for the latest sports game.