[Solar-talk] Hard coded temp dir in unit tests
Mike Naberezny
mike at naberezny.com
Mon Sep 18 18:41:43 PDT 2006
Paul M Jones wrote:
> Mike Naberezny, I understood you to say elsewhere that we can pull
> the temp dir location on Windows platforms with "%TEMP%" in some
> fashion?
>
It's one of the system environment variables that applies to all users.
C:\php5.1.6> php -r "echo $_ENV['TEMP'];"
C:\DOCUME~1\User\LOCALS~1\Temp
On Windows systems, you can view the environment variables available to
your user by entering "set" at a command prompt. You can view/edit
system and user environment variables in the Control Panel under
"System" then the "Advanced" tab, provided your user has permission to
do so.
Mike Naberezny
More information about the solar-talk
mailing list