Reply to Re: Tool to validate HTML code with PHP tags?

Your name:

Reply:


Posted by Ambush Commander on 05/19/07 01:53

To answer the original question, webrod, you can try enabling output
buffering, and then running Tidy on the contents of that. It's as
simple as adding this to the top of your PHP scripts:

<?php
ob_start('ob_tidyhandler');
?>

Although your mileage may vary depending on the version of Tidy and
PHP on your server. For more information, consult the manual:

http://php.net/manual/en/ref.outcontrol.php - Output Buffering
http://php.net/manual/en/ref.tidy.php

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация