Howdy.  I have searched high and low for a proper explanation covering this 
but to no avail.  If there is a FAQ somewhere that definitively covers this 
issue please let me know and I will stop bothering people on the list.  I 
have seen this question posted a lot so it really should be part of the PHP 
FAQ (IMHO).

=)

 From personal experience and posts on the 'Net, I have always thought that 
PHP under safe_mode was *incapable* of performing form based file uploads 
due to file ownership issues with the "/tmp" (or whatever temp directory 
your system uses).  I noticed a comment on the annotated manual at 
www.php.net claiming that setting the upload dir to "./tmp" would work if 
you just create the "./tmp" directory with 777 permissions in your local 
file tree where the script was called from.  I have tried every variation I 
can think of cannot get this to work (and I had tries this a couple of 
years ago with PHP 3.0 too).  The manual makes no mention of safe_mode file 
upload limitations really so I have not been able to 100% confirm this 
either way.  I'd like to get it working if at all possible but it is better 
to know "you cannot" than to waste time fighting with it.

Has anyone gotten file uploads to work under safe_mode and if so, what 
php.ini changes did you have to make?  Also what OS are you using (this 
particular setup is under the latest FreeBSD with PHP as an Apache module).

Any suggestions appreciated.

Cheers,

Ron


-----------------------------------------------------------------------------
Island Net AMT Solutions Group Inc.          Telephone:          250 383-0096
1412 Quadra                                  Toll Free:        1 800 331-3055
Victoria, B.C.                               Fax:                250 383-6698
V8W 2L1                                      E-Mail:    [EMAIL PROTECTED]
Canada                                       WWW:   http://www.islandnet.com/
-----------------------------------------------------------------------------


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to