Hello all!
I am currently working on a webinterface for my router, which will have user login etc.
The thing is, I've heard that it is possible to put "unwanted code" into such queries to for example a MySQL database,or perhaps even the PHP site itself.
I do not know how it works, but I know that it can be stopped by using addslashes().
But is this secure enough?
I would really appreciate if someone who knows how this works, putting unwanted code in my PHP site/login query, can show me.
Only then I can really know how to stop it, right?
I am currently working on a webinterface for my router, which will have user login etc.
The thing is, I've heard that it is possible to put "unwanted code" into such queries to for example a MySQL database,or perhaps even the PHP site itself.
I do not know how it works, but I know that it can be stopped by using addslashes().
But is this secure enough?
I would really appreciate if someone who knows how this works, putting unwanted code in my PHP site/login query, can show me.
Only then I can really know how to stop it, right?