note 75229 added to function.passthru
| From: | PaulGiblock at osu1 dot php dot net | Date: | Fri, 18 May 2007 18:30:04 +0000 |
| Subject: | note 75229 added to function.passthru | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126697@lists.php.net to get a copy of this message | ||
Stuart:
The pasthru function does not execute the program through the shell. What this mean, among other
things, is that your PATH variable is never set. Therefore, you have to use full paths on
everything.
I believe system() will run your program underneith a shell. This allow the program to run in a
'normal' environment.
-Paul
----
Server IP: 69.39.81.135
Probable Submitter: 68.157.195.202
----
Manual Page -- http://www.php.net/manual/en/function.passthru.php
Edit -- https://master.php.net/note/edit/75229
Del: integrated -- https://master.php.net/note/delete/75229/integrated
Del: useless -- https://master.php.net/note/delete/75229/useless
Del: bad code -- https://master.php.net/note/delete/75229/bad+code
Del: spam -- https://master.php.net/note/delete/75229/spam
Del: non-english -- https://master.php.net/note/delete/75229/non-english
Del: in docs -- https://master.php.net/note/delete/75229/in+docs
Del: other reasons-- https://master.php.net/note/delete/75229
Reject -- https://master.php.net/note/reject/75229
Search -- https://master.php.net/manage/user-notes.php