Hi, Any one got anti SQL injection script for php?

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
Well you could Google for one, though it's not strictly a script but a series of steps to protect data inputs.
The problem is telling you how to stop it , reveals how it's done.
 
Last edited:

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
It doesn't take a special script to prevent injection. Use prepared statements. MySQLi has them, though I'd recommend PDO over MySQLi as it has additional features and is easier to use. It's also the designated successor.
 

intelran94

New Member
Messages
11
Reaction score
1
Points
0
Hello,

I got it already thank you guys, By the way is there a possible to change the dynamic ip to static ip with router?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Read up on static IPs and you'll realize that static public IP addresses can only be assigned from a pool that has been allocated to someone else (your ISP, in this case). Ultimately, address pools are allocated by IANA, but anyone that has been allocated a pool can allocate a portion of that pool to someone else.

If you're talking about static private addresses, it depends on the router. You'll need to check your router documentation.
 
Top