PHP File Upload Function Problem

Hello,

I am running PHP4.0.6 on Red Hat 7.1 .

Following is what my php.ini looks like;

open_basedir = /home/web
safe_mode = Off
user_dir = no value
upload_tmp_dir = no value

With the above customers are unable to use the php upload function, script says;

Warning: open_basedir restriction in effect

When i set open_basedir = no value the script runs.

My question is how can one use file upload function with open_basedir in effect?

Also is the above php configuration secured?

What can i do to make it secure without limiting php fuctions.

Viv

 

 

 

 

Top