i dnt have a permision to change magic_quotes_gpc in my host plez help me how to change magic_quotes_gpc enable and disable.
http://nepalwap.com 1st Nepali Mobile site...
Started on the old forum in March 2011 · view the original in the archive · old links redirect here
i dnt have a permision to change magic_quotes_gpc in my host plez help me how to change magic_quotes_gpc enable and disable.
http://nepalwap.com 1st Nepali Mobile site...
Leave it off or else your site will be hackable ...
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
Turning magic quotes on helps to prevent sql injection .... however it will slow your site down as it escapes every POST or GET etc in your site .... This is ok however not every single variable is going into your database so it doesn't need escaping. This feature has also been deprecated so relying on it isn't a good idea. far better of using mysql_escape_string() to escape data going into your database... or if its not going into your database then use addslashes() as mysql_escape_string() will cause errors if a connection is not open.
I use a workaround for my script. It is set to on, so I use a foreach on the superglobals and stripslash them.
Perfection comes at a cost
I accept liberty!
thanx 4 ur help. Thats mean my site is SAFE
http://nepalwap.com 1st Nepali Mobile site...