Jump to content

turned off magic quotes but they still appear

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
matty241

matty241

    Newbie

  • Members
  • Pip
  • 9 posts
Hey everyone

I don't understand this

I turned off magic_quotes_gpc in my php.ini file, and when I tested this setting with the get_magic_quotes_gpc function it confirmed that it was off.

When I use a get or post variable and print out the variable the escape characters still appear.

Any idea why this could be happening

thanks

Matt

#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
Check magic_quotes_sybase as well as magic_quotes_runtime.

#3
matty241

matty241

    Newbie

  • Members
  • Pip
  • 9 posts
thanks for the reply

Looking at the php.ini file both of these are set to off

#4
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
im not sure about this, but i read somewhere that you have to restart apache so the php.ini settings work
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#5
SeanStar

SeanStar

    Learning Programmer

  • Members
  • PipPipPip
  • 32 posts

amrosama said:

im not sure about this, but i read somewhere that you have to restart apache so the php.ini settings work
I'm pretty sure thats your answer... apache doesn't check the php.ini file every 5 seconds for changes...

#6
matty241

matty241

    Newbie

  • Members
  • Pip
  • 9 posts
testing it with get_magic_quotes_gpc confirms that it is off. When I said I turned off maagic quotes this was about a month ago, I didn't need to use any post or get variables until today