ChinaUnix.net
相关文章推荐:

tidy使用

tidy is a binding for the tidy HTML clean and repair utility tidy是一种整理和修复你的HTML的工具,支持面向对象或面向过程方式调用,下面简单说说它的用法: 1)对象方式 test'; //要处理的字串 $tidy = new tidy; $tidy->parseString($html); $tidy->CleanRepair(); echo tidy_get_output($tidy); //输出处理后的结果 ?> 2)过程方式 error another line"; $config = array('indent' => TRUE, 'output-xhtml' =...

by 一地风飞 - php文档中心 - 2006-06-09 11:40:29 阅读(1050) 回复(0)

相关讨论

tidy扩展真是一个好东西,可以让我们轻松作出/检测/转换出符合xhtml的页面, 不过我用的时候发现这个扩展在php5.16下会让php挂掉---windows平台下cgi执行时弹框错误! 同样的配置和代码php5.12就没有问题,不知道大家遇到这个问题没有,linux平台没有测试 我的平台: windows 2003+apache 1.x+php5.16

by achun.shx - PHP - 2006-09-11 19:05:33 阅读(1102) 回复(3)

E:\libcurl\libtidy>set CVSROOT=:perver:;[email]anonymous@cvs.sourceforge.net[/email]:/cvsroot/tidy E:\libcurl\libtidy>cvs login Logging in to :perver:;[email]anonymous@cvs.sourceforge.net[/email]:2401:/cvsroot/tidy CVS password: cvs [login aborted]: connect to cvs.sourceforge.net:2401 failed: 由于目标机器积极拒绝,无法连接。

by judite - C/C++ - 2009-03-01 13:05:50 阅读(1727) 回复(2)