"),quotemeta(""),$content);
引用:
[color=]"),$content);
$content = eregi_replace(quotemeta(""),quotemeta("
$content = eregi_replace(quotemeta("[U]复制代码[/U] 代码如下:"),quotemeta(""),$content);
代码: "),$content);
$content = eregi_replace(quotemeta(""),quotemeta("
$content = eregi_replace("\\[images\\]([^\\[]*)\\[/images\\]","[url=]
[img][/img]
screen.width-333)this.width=screen.width-333\" title=\"用新窗口浏览原始图片\">[/url]",$content);
$content = eregi_replace("\\[url\\]www.([^\\[]*)\\[/url\\]", "[url=]www.\\1[/url]",$content);
$content = eregi_replace("\\[url\\]([^\\[]*)\\[/url\\]","[url=]\\1[/url]",$content);
$content = eregi_replace("\\[url=([^\\[]*)\\]([^\\[]*)\\[/url\\]","[url=]\\2[/url]",$content);
$content = eregi_replace("\\[email\\]([^\\[]*)\\[/email\\]", "[url=]\\1[/url]",$content);
//$content = preg_replace( '/javascript/i', 'java script', $content);
return $content;
}
希望本文所述对大家的php程序设计有所帮助。
您可能感兴趣的文章:PHP 数据结构 算法描述 冒泡排序 bubble sort php UBB 解析实现代码 php Ubb代码编辑器函数代码 php实现过滤UBB代码的类 php实现图片转换成ASCII码的方法 php实现二进制和文本相互转换的方法 php实现将wav文件转换成图像文件并在页面中显示的方法 php转换颜色为其反色的方法
欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2