You are here: Re: safe mode problem « PHP Programming Language « IT news, forums, messages
Re: safe mode problem

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация