PHP safe mode problem

Associate
Joined
18 Oct 2002
Posts
1,581
Location
Nottingham
Having a problem with php safe mode.

In my php code a php file is created but when you try to use this file it throws up safe mode errors when it tries to include files, saying the the uid are not the same. This is cos some files have been created and uploaded by me and this file has been created by the server.

I have tried editing the php.ini but it doesnt seem to make a difference. When creating the file in php can i set its uid?

:confused:
 
i have tried turning safe mode off in the php.ini

safe_mode = false

(that is correct yes?) and then restarted it, but it still says 'safe mode restrictions' etc

The problem with 'safe_mode_include_dir' is the fact that the php file that is created by the server ends up in the main folder for the site.
 
i edited the main php.ini on the server and then did a find and found the site specific one, and that is already set to off?

safe_mode = Off

but it is throwing safe mode errors. How can this be?
 
Back
Top Bottom