Home Coding XFCE Misc Contact me

validator.php - Validate your code on W3C automatically

Category: PHP
validator.php - Validate your code on W3C automatically
Description:
If you write dynamic web pages in PHP and you want to validate the sgml code, but you don't want to check page for page of conformity, then you can include validator.php in your PHP code.

Insert this in your PHP code:

if($_REQUEST['validated'] != 1)
 include("validator.php");
If your sgml code correct, then the W3C icon like below will be displayed. If you done with your web pages, it is better you disinclude validator.php, because validator.php slow down your dynamic web pages.
License:
GNU General Public License (GPL)
Last modification:
2004-11-21
Download:
validator.php.txt (After you save this file rename it to validator.php)
André Ellguth - ellguth At ibh Dot de
Last modified: Tue Jun 7 15:39:13 2011

Valid XHTML 1.0 Transitional