Jump to content
MakeWebGames

[mccode] another sql protection to help


wivers

Recommended Posts

Re: [mccode] another sql protection to help

lol

As it has been noted before there isn't much of a way to secure a site from sql injections..

All that can be said is secure every input, GET's , POST's and help prevent it .

most people use mysql_real_escape_string($content); or

mysql_real_escape_string(strip_tags($content));

just To cut down on user inputs...

 

Also this

You're unable to view this code.

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

You are not telling what you are doing

all that will do is sit in the header and do nothing

You havent told us that we need to include this on every page like

cleanIncomingData($idata);

or

checkIncomingData($idata, $minsize, $maxsize);

Link to comment
Share on other sites

Re: [mccode] another sql protection to help

I have also seen this on ej.am it also does not secure your site.

ej.am is full of people who didnt even know you needed to code your own game i suggest in the future you dont use anything which says it will protect your site because 90% of the time it wont.

Link to comment
Share on other sites

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...