Reply to Re: safe_mode ON on local but not in global

Your name:

Reply:


Posted by Colin McKinnon on 11/09/06 18:33

ramc18@tiscali.it wrote:

> My PHP.INI configuration have safe_mode = Off but in local execution it
> get On.
> I noticed this strange behaviour with a script that shows an error in
> move_uploaded_file.
> I write a minimal script with
>
> <?php
> phpinfo();
> ?>
>
> It shows safe_mode On (local) and safe_mode Off (global).
>
> Anyway I tried this other script
>
> <?php
> ini_set('safe_mode',FALSE);
> phpinfo();
> ?>
>

Well it wouldn't be a very safe safe_mode if it were that easy to turn off!

IIRC, master is the value in the config file, but this can be overridden in
the apache config / .htaccess files or in the script. Check your config
files - also watch out for include files, particularly if auto-prepended.

HTH

C.

[Back to original 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

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