Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
408 views
in Technique[技术] by (71.8m points)

php - 为什么我不应该在PHP中使用mysql_ *函数?(Why shouldn't I use mysql_* functions in PHP?)

What are the technical reasons for why one shouldn't use mysql_* functions?

(为什么不应该使用mysql_*函数的技术原因是什么?)

(eg mysql_query() , mysql_connect() or mysql_real_escape_string() )?

((例如mysql_query()mysql_connect()mysql_real_escape_string() )?)

Why should I use something else even if they work on my site?

(即使我的网站上可以工作,我为什么还要使用其他东西?)

If they don't work on my site, why do I get errors like

(如果它们在我的网站上不起作用,为什么会出现类似)

Warning: mysql_connect(): No such file or directory

(警告:mysql_connect():没有这样的文件或目录)

  ask by Madara Uchiha translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to reply this article.

OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...