約22,600,000件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 ' ...

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 ...

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 ...

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 ...

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 ...

2025/7/11 -The shell_exec() function in PHP executes a command via the shell and returns the complete output as a string. It allows running shell commands ...

2016/11/4 -Recently I had to call a PHP script within another script with some arguments. Normally you pass these parameters by GET or POST.