FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » newbie question: Is config.php necessary?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: newbie question: Is config.php necessary? [message #170606 is a reply to message #170588] Tue, 09 November 2010 20:21 Go to previous messageGo to previous message
Thomas Mlynarczyk is currently offline  Thomas Mlynarczyk
Messages: 131
Registered: September 2010
Karma:
Senior Member
Erwin Moller schrieb:

[Overriding PHP settings in an included config file]
> // magic quotes off please
> "magic_quotes_gpc" => "",

I'm afraid this cannot be set within a PHP script. The manual lists this
directive as PHP_INI_PERDIR (used to be PHP_INI_ALL up to PHP 4.2.3). I
think the filter functions provide a means of accessing the "unquoted"
raw input.

> // errorhandling
> "error_reporting" => E_ALL

I would use E_ALL | E_STRICT (unintuitively, E_STRICT is not included in
E_ALL, so E_ALL is actually "E_ALMOST_ALL").

Greetings,
Thomas

--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Variable expansion <?=$foo?> not working anymore
Next Topic: need urgent help
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 10:45:47 GMT 2024

Total time taken to generate the page: 0.03720 seconds