Re: [PHP] Code Validator

2003-03-03 Thread Leif K-Brooks
Exactly what do you mean by code validator?  If you can run it and it 
doesn't return any errors... it's valid PHP! :)  If you mean one that 
validates HTML produced by PHP, try saving the output of the PHP script 
and validating that.

Beauford.2002 wrote:

Hi,

Is there a code validater for HTML/PHP.  I have one for just HTML, but once
you introduce PHP it doesn't work.
TIA



 

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Code Validator

2003-03-03 Thread Justin French
You need to validate the RESULT of the HTML/PHP source being processed by
PHP, resulting in pure HTML source, which is what your browser sees.

So, upload your pages to a server which can be accessed over the internet,
then go to somewhere like validator.w3.org, enter the URL, and it will
validate it.

If you're looking for an OFFLINE validator, then I think you'd need to View
Source on the resultant HTML output, copy and paste into a text editor, save
it, then run it through your validator.


Justin French


on 04/03/03 9:51 AM, Beauford.2002 ([EMAIL PROTECTED]) wrote:

 Hi,
 
 Is there a code validater for HTML/PHP.  I have one for just HTML, but once
 you introduce PHP it doesn't work.
 
 TIA
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php