阅读背景:

哪种PHP登录方式最好?

来源:互联网 

I'm coding a PHP script and I need a login. So I want to check the input against a database with username and password. Is the best way to do it by doing a query where I compare if the post data is the same (SQL function 'like') as in the database? After that I count the mysql rows. If it's zero, I deny the login. If it's one, I allow the login.I'm coding a PHP script and I need a login. So




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: