Quick Question

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
phpCCore Brad
Forum Commoner
Posts: 47
Joined: Sun Dec 04, 2005 5:46 pm
Location: Michigan, USA
Contact:

Quick Question

Post 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.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Nothing to do with PHP-Code.. Moved to Web-Servers.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Quick Question

Post 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* ;)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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...
Post Reply