2012-09-14 137 views
3

我想通過命令行啓動:

$ /usr/bin/php -f "index.php?refresh_words=1" 
Could not open input file: index.php?refresh_words=1 

關當然,沒有?refresh_words=1它的運行正常。我可以從命令行傳遞$ _GET參數嗎?

+2

http://stackoverflow.com/questions/4186392/php-passing-get-in-linux-command-prompt – Philipp

回答