Commits

christiansalazar committed 6d294f5

readme 2

Comments (0)

Files changed (1)

 		$model = SomeClassName::model()->findByPk('123');
 
 		$api = new YiiFileManagerRemoteApi();
-		$URL = $api->newListener("SomeClassName","123");
-
+		$CRC32_UID = $api->newListener("SomeClassName","123");
+		$URL = CHtml::normalizeUrl(array('/site/incoming','uid'=>$CRC32_UID));
+		// it will say:
+		//	http://mysite.com/index.php?r=site/incoming&uid=ac92cf3ca
+		//
 		echo "Dear user, send a POST['content']='hello world' to this URL: ".$URL;
 
 7.	When some one uses this URL to send messages to you then it will be