RE: [PHP] where (path) start unix-commands from php-scripts
| From: | Christensen, BruceX R | Date: | Sat, 05 Aug 2000 01:12:09 +0000 |
| Subject: | RE: [PHP] where (path) start unix-commands from php-scripts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10229@lists.php.net to get a copy of this message | ||
If you're talking about the PATH environment variable, you can read/set it
using getenv() and setenv().
If you're asking about how to run an external program (such as a built-in
Unix command), check out
http://www.php.net/manual/html/language.operators.execution.html#language.op
erators.execution.
--Bruce
Bruce Christensen
Intel Corporation
brucex.r.christensen@intel.com
-----Original Message-----
From: ott89@t-online.de [mailto:ott89@t-online.de]
Sent: Friday, August 04, 2000 6:05 PM
To: php-general@lists.php.net
Subject: [PHP] where (path) start unix-commands from php-scripts
From which path do I start unix-commands from php-scripts?
Or, where in phpinfo.php3 do I read this path?
Thanks for a path.
Helmut