Studyon Minte9.com
Magento




Form Submit simulation



<?php

	include 'app/Mage.php';
	Mage::app();

	$client = new Varien_Http_Client('http://your-url.com/review/product/post/id/2/');
	$client->setMethod(Varien_Http_Client::POST);
	$client->setParameterPost('nickname', 'test');
	$client->setParameterPost('detail', 'detail');
	$client->setParameterPost('title', 'test');
	$client->setCookie('test');
	$client->setCookieJar(true);
	/** @var $response Zend_Http_Response */
	$response = $client->request();

	echo $response;


http://stackoverflow.com/questions/9232066/how-to-prevent-spam-reviews-in-magento