just wanted to ask if this code will affect the whole code of sql?
if you have site then you will know about sql injections.
here is small code to block unwanted sql injections
put this code into .htaccess filePHP Code:RewriteCond %{QUERY_STRING} [^a-z](declare|char|set|cast|convert|delete|drop|exec|insert|meta|script|select|truncate|update)[^a-z] [NC]
RewriteRule (.*) - [F]
so when hacker will insert this words into URL it will not post any value into database. and page will turn to 403 Error page.
so only HTTP POST method will work to post value.
just wanted to ask if this code will affect the whole code of sql?
We help not because we need to but we help because we want to.........there's a big difference between "need" and "want"