December 21, 2010

PHP 5.3不建議使用的函數及其建議方案

ereg()    (use preg_match() instead)
ereg_replace()     (use preg_replace() instead)
eregi()     (use preg_match() with the 'i' modifier instead)
eregi_replace()    (use preg_replace() with the 'i' modifier instead)
session_register()     (use the $_SESSION superglobal instead)
session_unregister()     (use the $_SESSION superglobal instead)
session_is_registered()    (use the $_SESSION superglobal instead)
split()    (use preg_split() instead)
spliti()   (use preg_split() with the 'i' modifier instead)
mysql_db_query()    (use mysql_select_db() and mysql_query() instead)
mysql_escape_string()     (use mysql_real_escape_string() instead)

0推薦此文章
Today's Visitors: 0 Total Visitors: 14
Personal Category: 上班 Topic: technology / tech info / programming
歷史上的今天:
[Trackback URL]

Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0