My site runs php and tpl's

Discussion about any web related scripting languages like JavaScript, ASP, and PHP.
Post Reply
nextgen
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 6
Joined: Thu Nov 09, 2006 6:47 pm

My site runs php and tpl's

Post by nextgen » Tue Jan 16, 2007 1:30 pm

My site s running php-nuke and has its forum pages with the tpl extension. Can i safely open these files with cse and have it check the html insde the tpl's ?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3440
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Tue Jan 16, 2007 5:57 pm

I'm not familiar with those files. Can you send me some examples via attachment to support at htmlvalidator dot com so I can take a look?

CSE HTML Validator is designed to check documents after they have been processed by the server. That is, the final HTML output that is sent to the user's browser. It works best this way but may still be useful in other circumstances.
Image
Albert Wiersch

nextgen
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 6
Joined: Thu Nov 09, 2006 6:47 pm

Post by nextgen » Tue Jan 16, 2007 8:28 pm

I sure can but you can also look at the very board you have for your site here. phpbb is run off of php and tpl files. I am attach some examples in a rar.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3440
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Wed Jan 17, 2007 10:56 am

Thank you. I received the files.

I believe you should be able to safely open these files and edit them (I don't see why not--they are just text files). Depending on how much scripting is in the file, validating with CSE HTML Validator may be helpful. If there's not a lot of scripting, then it is more likely to be helpful.

Since CSE HTML Validator isn't validating a complete document, there may be error messages that appear that you would have to ignore. For example, some end tags may be missing because they are in another file such as a footer file. In that case, just ignore the errors for those missing end tags.

In many cases, CSE HTML Validator will generate useful messages from partial script files containing HTML. When checking some of the files you sent, I found some useful messages.

I hope this helps.
Image
Albert Wiersch

Post Reply