|
Posted by Rik Wasmus on 10/14/07 14:59
On Sun, 14 Oct 2007 16:43:09 +0200, Summercool <Summercoolness@gmail.com>
wrote:
> On Oct 13, 7:05 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>
>> It sounds like you're running with magic_quotes enabled. It's a setting
>> I wish they would have never had, and I recommend you turn it off.
>
> i checked phpinfo()
>
> yes, magic_quotes_gpc is on, and it is said that it is the default
> setting.
>
> magic_quotes_runtime is off by default.
> magic_quotes_sybase is off.
>
> so shouldn't we work with the default setting?
Not neccesarily, that's why they're called settings. The only thing one
should do is trying to create code as independant from settings as
possible.
> like if i use a
> hosting company like Dreamhost, we can't ask them to turn off just for
> us.
PHP settings in Apache can easily be set per virtual host, no other client
on the server need ever be troubled by them. Apache even supports setting
them in a per directory .htaccess files (which I often use on little
project on third-party servers to whip them into shape).
Prices for hosting as they are now, I can recommend anyone being
moderately serious about their site just to pay for a VPS. It's still dirt
cheap and one has close to total control.
--
Rik Wasmus
Navigation:
[Reply to this message]
|