Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Hows Does The Html Validator Work?

This is a discussion on Hows Does The Html Validator Work?, within the Beginners' Questions section. This forum and the thread "Hows Does The Html Validator Work?" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> Hows Does The Html Validator Work?
Jason
post Mar 23 2008, 01:04 PM
Post #1


Master of the Universe
******

Group: Mentor
Posts: 1,094
Joined: 15-February 08
From: London, England
Member No.: 141



I have a rather nifty idea for a new feature on my CMS.

I was wondering how the W3C site validator works? As in, how it opens the page and checks it as opposed to the validating itself. Can it be done in php? Can someone link me to a tutorial on it?

On a slightly different note is there any validator that I could embed into a website?


--------------------
Go to the top of the page
 
+Quote Post
paintingtheweb
post May 21 2008, 11:49 AM
Post #2


Squeezing
***

Group: Members
Posts: 60
Joined: 14-February 08
From: Las Vegas, NV
Member No.: 122



You're asking how to grab html from another site, correct? You can use file_get_contents(); i.e.
CODE
$html = file_get_contents("http://www.thesiteiwanthtmlfrom.com");


--------------------
The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   12 gribble 374 19th February 2008 - 05:49 AM
Last post by: welshstew
No New Posts   0 karinne 156 14th February 2008 - 10:48 AM
Last post by: karinne
No new   34 Antti 710 6th April 2008 - 10:51 AM
Last post by: Justify
No New Posts   1 Daniel 156 18th February 2008 - 09:12 AM
Last post by: Jacob
No New Posts 0 karinne 259 22nd February 2008 - 07:58 AM
Last post by: karinne