public function actionTouchUrl() {
$url = 'http://'.$_SERVER['HTTP_HOST'].'/test/timeConsumingProcess';
echo $url; echo '<br>';
$params = array('str'=>'Hello John');
//ini_set("error_log", "php-error.log");
//error_log("Log text here..." . time().'----Test');
$postData = null;
$contentType = null;
ERunActions::touchUrl($url,$postData,$contentType,$params);
echo "Touched";
}
public function actionTimeConsumingProcess(){
//Email code notification here...
}
link : http://myurl.com/test/touchUrl
My Yii version is 1.1 also I have downloaded runactions.1.1.zip extension from http://www.yiiframework.com/extension/runactions/
ERunActions::touchUrl() is working fine for my localhost. But not working in server. If I direct hit timeConsumingProcess then email working fine.
Please help…