magic quotes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

magic quotes

Post by pleigh »

hi there fellas,

what do you prefer? maqic quotes or stripslashes? why?

i would like to know your opinion about the usage. should i spoil myself on using stripslashes() rather that magic quotes? or should i use them both? why?

thanks a lot

pleigh :lol:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you basically, have to program for them, as most servers will have magic quotes on. However, as McGruff will likely point out, magic quotes are evil.
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post by Deemo »

i found this site helpful: http://www.webmasterstop.com/63.html

heh they say the magic quotes are evil too.
Post Reply