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.
i dnt have perm. To change magic_quotes_gpc
Collapse
X
-
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...
_______
Info & Tips
php.net
w3schools.com
-
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.
Comment
Comment