473,322 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

PHP pages, problems with W3C Validator Local installation on Windows

hi,

I followed the instructions at
http://validator.w3.org/docs/install_win.html ("Installing the
W3C-Validator on a Apache under Windows") and it works perfectly. I can
locally validate HTML pages without an internet connection.

Unfortunately, I recently changed my website to make it all PHP, so
that I can include standard headers and footers, etc for menus, hit
counters and the like, so have index.php everywhere and not index.html
any longer.

When I try to validate such a page offline, I get a "No DOCTYPE found!"
error, because the doctype is declared in an included PHP file.

The page validates perfectly online, but not offline, which makes it
somewhat obvious that my locally installed PHP is not being invoked.

Does anyone have any idea how I should configure this?

Thanks a 1,000,000 in advance.

Jan 21 '06 #1
4 1842
btw, I followed "How to Install and Configure PHP4 to Run with Apache
on Windows" at http://www.thesitewizard.com/archive/php4install.shtml

but that isn't helping :-( I am guessing that it is an Apache config
problem (and, yes, I did restart Apache)

Jan 21 '06 #2
Baron Samedi wrote:
The page validates perfectly online, but not offline, which makes it
somewhat obvious that my locally installed PHP is not being invoked.


What is important is the markup being served to the end user, not the PHP
program code that generates that markup. It is the output markup that needs
to be validated, not the PHP script.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 21 '06 #3
Thanks, David,

I realised that. My problem, however, is that I need to force the PHP
to be executed in order to generate what is served up to the end user.

At first I thought to post to this group in case anyone else had
attempted the same exercise, but nwo I am thinking that I really need
to post to an Apache group, with respect to gettting the PHP runnnig.

All feedback gratefully received, though ...

Jan 22 '06 #4
Baron Samedi wrote:
I realised that.
Realised what?

http://www.safalra.com/special/googlegroupsreply/
http://oakroadsystems.com/genl/unice.htm#quote
My problem, however, is that I need to force the PHP
to be executed in order to generate what is served up to the end user.
You access it through a webserver.
At first I thought to post to this group in case anyone else had
attempted the same exercise, but nwo I am thinking that I really need
to post to an Apache group, with respect to gettting the PHP runnnig.


Yes.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: black hawk | last post by:
Hello, i have a big problems, to install oracle 9i v9.2 Server to my "Windows XP" with Service Pack 2 and all security and other updates from Microsoft. The "Universall Installer" (Standard...
0
by: black hawk | last post by:
Hello, i have a big problems, to install oracle 9i v9.2 Server to my "Windows XP" with Service Pack 2 and all security and other updates from Microsoft. The "Universall Installer" (Standard...
5
by: Pär | last post by:
Hi ! I'm wondering if anyone successfully has managed to install the W3C Validator on a Windows operating system. If so , can you please give me som hints ? Best regards Pär Erlandsson
22
by: Lee K. Seitz | last post by:
What are this group's members' ideas about including W3C validator (http://validator.w3.org) graphics on web pages? Specifically, should they be on every page? I can see including an HTML/XHTML...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
13
by: Niki Kovacs | last post by:
Hi, I'm an Austrian writer living in Montpezat (South France). I just installed a local W3C validator on my machine (Slackware 10.1, local Apache server). It's accessible as...
3
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no...
10
by: Eric Lindsay | last post by:
How are people are validating multiple web pages? I thought most of my pages were valid so as a first try I used curl -F uploaded_file=@index.htm\;type=text/html http://validator.w3.org/check...
1
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.