Go home. These are ancient pages no longer being maintained.

Private Validator

Private Validator allows you to quickly validate the output of a private web server via the public W3C's Validation Service. If the W3C's server can't access your test server, this PHP script can gather its output and upload it to the validator for you. The W3C does not offer HTTPS connections, so keep in mind that this sends the output of your private server across the internet unencrypted. Pete Freitag created a Cold Fusion MX port of this script!


  1. Web server with PHP which can access the server you wish to test.
  2. Web browser with javascript and access to the private server.



  1. Extract the files to a new directory on your test server.
  2. Open http://path/to/your/privateValidate.php
  3. Save the given links as favelets/bookmarklets for quick usage.

How Does It Work?

  1. You browse to a page on your private server and activate a bookmarklet.
  2. The bookmarklet submits the internal URL to privateValidate.php (PV for short).
  3. PV places an HTTP GET request to your server.
  4. Your server's response is submitted as file-upload data to the W3C validator. (note: this POST data is sent unencrypted)
  5. Resulting output of the validator is returned to PV.
  6. PV adds a BASE element to the XHTML (so CSS & links work) and sends it to your browser.

What's Next

Version History

Version Date Notes
1.1 5/14/2004 + PrivateValidator class
+ error reporting
1.0 4/15/2003 Initial "quick & dirty" Release.

Credits / License

Private Validator was created by Stephen Clay and is freely available under the GNU General Public License (GPL). Private Validator relies on the Advanced HTTP Client class by GuinuX. This is also GPLed and its source is included.