Page 1 of 1

Please help me with some PHP code :(

Posted: Sat Feb 28, 2004 3:20 pm
by help
This may seem really basic - but I need help. On UNIX systems the default temporary directory is /tmp. but I need to change this to a different directory. Does anyone know how I can do this?

Re: Please help me with some PHP code :(

Posted: Sat Feb 28, 2004 3:58 pm
by prefect
help wrote:This may seem really basic - but I need help. On UNIX systems the default temporary directory is /tmp. but I need to change this to a different directory. Does anyone know how I can do this?
i can't see how this is efnet related, and i don't know php to help you.

i recommend you reading the documentation on http://www.php.net or visit #php / #phphelp or similar.

Posted: Sat Feb 28, 2004 8:07 pm
by munky
try ini_set('save_path', "/home/user/tmp");

Posted: Sun Feb 29, 2004 12:49 am
by Pills
Once again, because this has nothing to do with EFnet, moved to Off Topic.

Posted: Sun Feb 29, 2004 2:07 am
by prefect
firm. firm, but fair.