anybody know of any good PHP & html code checking software?

Posted on 2012-04-06
Medium Priority
Last Modified: 2012-04-09
Mostly looking for something that checks that right number of tags are there and highlights any coding errors. Software can be free or paid for. Only looking at a few static pages, like 6.

Pages contain both php and html, so ideally like something that checks php code as well as html.

Thanks for any suggestions.
Question by:RupertA
LVL 13

Expert Comment

by:Hugh McCurdy
ID: 37815881
I suggest you always verify pages with the W3 validation tool at  http://validator.w3.org/   However, that only validates HTML.  You can also validate CSS from that page.

As for PHP, a free option is at   http://sourceforge.net/projects/phpw3cvalidator/
A commercial option is at   http://www.nusphere.com/products/php_code_validator.htm
LVL 12

Expert Comment

by:Anuradha Goli
ID: 37815882
for validating php and html code

you can check html code for w3c validations using:

Expert Comment

by:Shaun McNicholas
ID: 37815908
Its called a web browser!!!!

I'm sorry I just couldn't resist! :o)

I personally use Adobe Dreaweaver... works fantastic... Coda is pretty good as well... but I'm not offering anything new to this discussion.
I just couldn't resist a little humor today!

Accepted Solution

rinfo earned 2000 total points
ID: 37818788
I think you should try rapidphp http://www.blumentals.net/rapidphp/ which you have to buy to use(Download a trial version and try it ). I have been using it for quite some time though i do not like interface that much ( i am happy with codelobster).
Rapidphp has a check syntax menu using which will point out syntax error found in the current
page. It also has support for html, css and javascript. So you can use it as an all round editor for
web application files. I found it very very handy in tracing syntax error while coding;

Author Comment

ID: 37825338
Everybody's suggestions were good, but points go to rinfo as I think the rapidphp is excellent. At such a low price, it is exactly what I was looking for. Useful tool.

Thanks everyone.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question