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

Home » Imported messages » comp.lang.php » Magic quotes? Should I still be cautious?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Magic quotes? Should I still be cautious? [message #176381 is a reply to message #176380] Thu, 29 December 2011 22:08 Go to previous messageGo to previous message
Michael Joel is currently offline  Michael Joel
Messages: 42
Registered: October 2011
Karma:
Member
On Thu, 29 Dec 2011 16:53:17 -0500, Michael Joel <no(at)please(dot)com>
wrote:

> On Thu, 29 Dec 2011 22:04:13 +0100, Michael Fesser <netizen(at)gmx(dot)de>
> wrote:
>
>> .oO(Michael Joel)
>>
>>> I do not have control of my server (shared server).
>>>
>>> echo get_magic_quotes_gpc(); returns True.
>>> Should I still be cautious and use addslashes/stripslashes in case the
>>> hosting company ever decides to change the settings?
>>
>> Yes. Check if magic quotes are enabled and use stripslashes() if they
>> are to get the raw data.
>>
>> Micha
>
>
> I have the script written. No I was going to go back and add the
> addslashes/stripslashes.
>
> But - the script is functioning right now without stripping slashes.
> When I post database data to the page there are no slashes where you
> would expect to find them. They seem to be removed automatically?
>
> Mike

Sorry - meant to mention... I did verify magic quote gpc is on. So
does it automatically remove slashes as well?

Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lilupophilupop
Next Topic: [WSP] CALL FOR PAPERS [FREE]
Goto Forum:
  

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

Current Time: Thu Nov 28 17:46:51 GMT 2024

Total time taken to generate the page: 0.08129 seconds