|
Posted by Erwin Moller on 04/13/06 14:46
Yannick Benoit wrote:
> Hey guys.
> I have a script that builds up galleries of pictures and then let people
> vote on them.
> the script admin is in a folder named: /admin and includes all db
> connections.
>
> Then each galleries generated by the script goes into
> /galleries/name1.2.3.etc...
>
> So I used to connect to my db for the voting using
> include("../admin/db_func.php");
> but now that safe mode is on I cant make it work anymore. Anyone has
> suggestions has to make this work ?
>
> Thank you very much
>
> Yang
Hi Yang,
Why do you think safemode is the problem?
I checked the reference:
http://nl2.php.net/manual/en/features.safe-mode.php
and didn't find any reason to believe that safemode is causing this, unless
you managed to give the files different owners (combined with safe_mode_gid
to 'on')
If that is the case, the solution is simple too: make all owners of the
files the same user.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|