コマンドラインから起動しようとしています:
$ /usr/bin/php -f "index.php?refresh_words=1"
Could not open input file: index.php?refresh_words=1
もちろん?refresh_words=1
走らなくてもOK。コマンドラインから $_GET パラメータを渡すことはできますか?
コマンドラインから起動しようとしています:
$ /usr/bin/php -f "index.php?refresh_words=1"
Could not open input file: index.php?refresh_words=1
もちろん?refresh_words=1
走らなくてもOK。コマンドラインから $_GET パラメータを渡すことはできますか?
あなたはこれをそのようにすることはできません。とを使用argv
しargc
ます。マニュアルのコマンドラインの使用セクションを参照してください