PDA

View Full Version : magic quotes


forefront
Wed 1st Nov '00, 3:59pm
Does the new v1.4 of the software fix the requirement for magic_quotes_gpc being off?

It is odd if not - VBulletin requires them OFF and PHPMyAdmin (which is recommended by VBB!) requires them ON!

Me2Be
Wed 1st Nov '00, 4:44pm
What are magic quotes?

forefront
Wed 1st Nov '00, 5:07pm
RTFM

Me2Be
Wed 1st Nov '00, 5:10pm
Well that explained it -- NOT! :)

forefront
Wed 1st Nov '00, 5:14pm
http://www.php.net/manual/function.get-magic-quotes-gpc.php

...or search your own BBS for magic quotes to see what the issue is. I wrongly assumed a moderator of a forum re. VBulletin Questions would be au fait with the product they are moderating.

From PHP manual:

"magic_quotes_gpc boolean
Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically. If magic_quotes_sybase is also on, a single-quote is escaped with a single-quote instead of a backslash."

Freddie Bingham
Wed 1st Nov '00, 5:19pm
Me2Be is the moderator of Chit Chat, not vBulletin Questions. Refer to the forum index to see who is the moderator of a forum.

Wayne Luke
Wed 1st Nov '00, 5:19pm
Magic_Quotes is a feature of PHP that allows the interpreting engine to automatically escape special characters such as quotation marks because they can cause problems if simply inserted into a SQL database.

Me2Be
Wed 1st Nov '00, 5:22pm
Originally posted by wluke
Magic_Quotes is a feature of PHP that allows the interpreting engine to automatically escape special characters such as quotation marks because they can cause problems if simply inserted into a SQL database.


Ah, I get it now!!! Thanks Wayne (and freddie)!!

Forefront - suggestion? In the future, if you want help, don't make enemies of those around you before they get a chance to know you ....

[Edited by Me2Be on 11-01-2000 at 04:33 PM]

robrink
Thu 23rd Nov '00, 9:57pm
How do you turn magic quotes off, I cant figure it out?