約105件1ページ目

日本語のみで絞り込む

2013/10/16 -This function is disabled when PHP is running in safe mode. Check your php.ini file and make sure safe mode is turned off and it's not in ' ...

To run a command in background, the output must be redirected to /dev/null. This is written in exec() manual page. There are cases where you need the output to ...

2018/6/18 -Passing parameters to a shell script from PHP. Its all about the "strings", and when to "double quote" for expansion. <?php ...

2021/11/2 -if we call our script with the following arguments, ./myscript.php -vvv --silent -ab --my-name=gbhorwood -c /path/to/inputfile /path/to ...

2014/10/1 -Exec() method emulate the command line, meaning exec("example.php") works the same as php -f example.php on the command line. This means you can ...

2017/12/7 -The values are accessed via the $argv array. This approach works, but it is very simplistic and doesn't play well if you're looking to ...

2014/11/8 -So is it possible to supply the each date from the start date dynamically from a shell script? For example: if I need to run update_cron.php ...

2024/2/26 -You must ensure a user never can control what exact command line is executed (and ensure that every parameter is properly escaped). If not ...

2016/8/21 -I've tried to see what variables are present when the script runs which are _GET, _POST, _COOKIE, _FILES, argv, argc, and _SERVER, but looking ...

2021/4/2 -shell_exec() executes a command and returns the complete output as a string. It does not provide the exit code. The function return value is ...