code validator or page view?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
tunnie_pitch
Forum Newbie
Posts: 1
Joined: Tue Aug 28, 2007 9:07 am

code validator or page view?

Post by tunnie_pitch »

Hi,

This will be a slightly odd request, I work in Operations at a mobile content company. We have a large number of sites, all built using PHP.

Testing them can take some time, currently we manually go though each site looking for errors. We have to re-check sites when a change has been made to make sure the change has not broken anything else.

I am after an application or script, that can scan for broken PHP links or errors. There are loads of programs out there which check for 404 errors and related HTTP problems, but with PHP its been harder to find. Often the link works, but the code on the page is broken for some reason.

Does anyone know of an application that can maybe go though a website, list links, and a preview of what’s on the page?

This is so I can check for errors quickly, or maybe some kind of program than scans for PHP errors?

Apologies if I posted this in the wrong section of the forum!

Regards

Mark Tunnicliffe
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

SimpleTest, the PHP Unit Test library has a facility for testing HTML output I think. It should be possible to tweak that to work for what you're after.
Post Reply