Reply
PHP - HTML Validation
Old 11-02-2007, 02:24 PM PHP - HTML Validation
cbeaudin's Avatar
Super Talker

Posts: 126
Name: Clayton Beaudin
Location: Proud to be Canadian
I dont know if anything like this exists but i was hoping someone might have some helpful tips.

I was looking for a program that will run PHP code with random variable values to output all possible outcomes of HTML code and show validation errors if a certain combination of variables is set.
cbeaudin is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 11-03-2007, 03:13 PM Re: PHP - HTML Validation
rogem002's Avatar
Webmaster Talker

Posts: 607
Name: Mike
Location: United Kingdom
I think there are some about (but they cost).

I think there are 2 approaches that would suit you best:
1. Hijack the W3C HTML validation service. - Not recommended.
2. Use pregs, and strips to check for bad tags etc.
__________________
Website Services
PHP Code:
if(Added_Talkupation($post) == TRUE){iHug($you);} 
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 11-04-2007, 05:58 PM Re: PHP - HTML Validation
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Wireless Audio
Posts: 2,320
Name: Keith Marshall
Location: West Hartford, CT
You should be able to run tidy from the source html within a text editor or Firefox
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP - HTML Validation
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11430 seconds with 12 queries