![]() |
1
benzhe 2012-06-09 19:07:39 +08:00 ![]() |
![]() |
2
alsotang 2012-06-09 19:21:31 +08:00 ![]() “http://www.baidu.com/s” 这两边的符号你确认不是",而是“ ??
|
![]() |
3
AlloVince 2012-06-09 19:27:56 +08:00 ![]() 既然是固定替换,为什么要用正则
$str = str_replace('/search', 'http://www.baidu.com/s', $str); |
![]() |
4
l0000 2012-06-09 19:30:25 +08:00 ![]() |
![]() |
5
akax 2012-06-10 12:07:14 +08:00 ![]() 有两个引号就出错的。 还是用固定替换方便
|
![]() |
6
Air_Mu 2012-06-10 12:50:05 +08:00 ![]() notepad++ 在所有文件中查找替换
更安全方便吧。 |