Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unwanted code in my PHP login site?

Status
Not open for further replies.

Pluttur

Programmer
Feb 20, 2005
5
SE
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top