在PHP后期版本中ereg是不推荐使用的...
推荐使用preg_match代替ereg的使用
但是两者使用有所不同... 比如ereg("php","PHP is the web scripting language of choice."),
而使用preg_match(”/php/","PHP is the web scripting language of choice."),
就这个问题... 今天调试了一整天.... 最后才发现是这个问题...
在PHP后期版本中ereg是不推荐使用的...
推荐使用preg_match代替ereg的使用
但是两者使用有所不同... 比如ereg("php","PHP is the web scripting language of choice."),
而使用preg_match(”/php/","PHP is the web scripting language of choice."),
就这个问题... 今天调试了一整天.... 最后才发现是这个问题...