« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for ProgramName (0.002 sec.)
escapeshellcmd — シェルのメタ文字をエスケープする | PHP 8.3 9414
escapeshellcmd (PHP 4, PHP 5, PHP 7, PHP 8) escapeshellcmd — シェルのメタ文字をエスケープする 説明 function escapeshellcmd ( string $command ): string escapeshellcmd() は、文字列中においてシェルコマンドを だまして勝手なコマンドを実行する可能 ... せん。 警告 スペースは escapeshellcmd() 関数ではエスケープされません。 たとえば、Windows で問題になりがちな C:\Program Files\ProgramName\program.exe のようなパスが当てはまります。 この問題は以下のようなコードで緩和できます: <?php $cmd = preg_replace ( '`(?<!^ ...
https://man.mtool.work/php/8.3/function.escapeshellcmd.html
PREV 1 NEXT