note 128899 added to function.exec

From: Date: Tue, 19 Sep 2023 14:23:26 +0000
Subject: note 128899 added to function.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-220859@lists.php.net to get a copy of this message
Please be aware that EXEC ignore the stderr! So something like mkdir /impossible path Will fail, and show nothing, you must use mkdir /impossible 2>&1 to properly capture the error message ELSE if executed in CLI, will just print on the terminal, if executed on a browser is lost. I strongly suggested those notes to be added in the main description, and not lost in a comment at the bottom. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 85.119.46.8) ---- Manual Page -- https://php.net/manual/en/function.exec.php Edit -- https://main.php.net/note/edit/128899 Del: integrated -- https://main.php.net/note/delete/128899/integrated Del: useless -- https://main.php.net/note/delete/128899/useless Del: bad code -- https://main.php.net/note/delete/128899/bad+code Del: spam -- https://main.php.net/note/delete/128899/spam Del: non-english -- https://main.php.net/note/delete/128899/non-english Del: in docs -- https://main.php.net/note/delete/128899/in+docs Del: other reasons-- https://main.php.net/note/delete/128899 Reject -- https://main.php.net/note/reject/128899 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220859) next »