Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [V2]SQL Injection protection

if you put that into a page it will do nothing. What you need to do is structure your code and validate input.

A function you could use to clean input strings could be something like this;

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

There are a lot of websites that will be very helpfull. If you read this "http://www.learnphponline.com/security/sql-injection-prevention-mysql-php" site it will have a lot of information on how you can secure against injections.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...