470,874 Members | 1,820 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

safe mode problem

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

Apr 12 '06 #1
1 1158
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
Apr 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Giobibo | last post: by
reply views Thread by Yemi | last post: by
3 posts views Thread by Jeremy Shovan | last post: by
2 posts views Thread by md | last post: by
2 posts views Thread by Paul Schmidinger | last post: by
2 posts views Thread by Joseph S. | last post: by
reply views Thread by Chris | last post: by
1 post views Thread by Sephi | last post: by
7 posts views Thread by bvdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.