note 108085 added to function.putenv
| From: | AnonymousCoder | Date: | Tue, 27 Mar 2012 18:28:09 +0000 |
| Subject: | note 108085 added to function.putenv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186875@lists.php.net to get a copy of this message | ||
It's the putenv() type of environment variables that get passed to a child process executed via
exec().
If you need to delete an existing environment variable so the child process does not see it, use:
putenv('FOOBAR');
That is, leave out both the "=" and a value.
----
Server IP: 69.147.83.197
Probable Submitter: 67.107.141.2
----
Manual Page -- http://www.php.net/manual/en/function.putenv.php
Edit -- https://master.php.net/note/edit/108085
Del: integrated -- https://master.php.net/note/delete/108085/integrated
Del: useless -- https://master.php.net/note/delete/108085/useless
Del: bad code -- https://master.php.net/note/delete/108085/bad+code
Del: spam -- https://master.php.net/note/delete/108085/spam
Del: non-english -- https://master.php.net/note/delete/108085/non-english
Del: in docs -- https://master.php.net/note/delete/108085/in+docs
Del: other reasons-- https://master.php.net/note/delete/108085
Reject -- https://master.php.net/note/reject/108085
Search -- https://master.php.net/manage/user-notes.php