string system ( string $command [ , string $arg, … ] )
system() executes an external command
※ available F/W version : all
Returns the output string, PHP error on error
<?php
$str = system("uname -svpi");
echo "$str\r\n";
?>
None
Refer to the system() function in other manual for detailed information.
This system() function supports another function format.
The words starting with ‘%’ followed by a number in the string are replaced by parameters.
For example, the following two functions are exactly the same.
system("php -d 5 main.php");
$delay = "5";
$filename = "main.php";
system("php -d %1 %2", $delay, $filename);