Page 1 of 1

Quick Question

Posted: Sun Dec 04, 2005 7:47 pm
by phpCCore Brad
Does anyone know if /tmp is a standard on webservers. The reason I ask is I am looking for a folder I can always download no matter what OS is running the php server. I know every *nix server I have seen has /tmp, but I wasn't sure about windows.

Posted: Sun Dec 04, 2005 7:50 pm
by John Cartwright
Nothing to do with PHP-Code.. Moved to Web-Servers.

Re: Quick Question

Posted: Mon Dec 05, 2005 6:13 am
by Chris Corbyn
phpCCore Brad wrote:Does anyone know if /tmp is a standard on webservers. The reason I ask is I am looking for a folder I can always download no matter what OS is running the php server. I know every *nix server I have seen has /tmp, but I wasn't sure about windows.
Yes it is... on Unix/Linux servers I can practically guarantee there will be a /tmp directory which is writable to *everyone* ;)

Posted: Mon Dec 05, 2005 9:14 am
by timvw
Most operatings systems have an environment variable TMP or TEMP, but it's not 100% certain. So make sure to add it to the requirements / installation instructions...