$postArr = array("url"=>$url,"type"=> $type);
$file = 'C:\jacob\debug\log.txt';
$postJSON = json_encode($postArr);
file_put_contents($file, $postJSON);
$this一定要在被new實體化之後才會產生
http://stackoverflow.com/questions/4323411/how-can-i-write-to-console-in-php
$output = "";
echo $output;
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。