i dnt have perm. To change magic_quotes_gpc

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    i dnt have perm. To change magic_quotes_gpc

    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.

    #2
    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

    Comment


      #3
      use magic quotes runtime func.

      Comment


        #4
        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


          #5
          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!

          Comment


            #6
            thanx 4 ur help. Thats mean my site is SAFE

            Comment

            Working...
            X