Re: Data injection problems [message #169559 is a reply to message #169558] |
Fri, 17 September 2010 20:45 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(Stephan Bird)
> I have been maintaining a website for my parents' business for a while
> now, and as part of this have written a form to try and generate
> enquiries. This was working fine up until a few days ago, but now seems to
> be hijacked with spurious code when I try and validate it at
> validator.w3.org . I can't see the extra code when I visit the site in
> e.g. Firefox, though it is visible when I go to the page in lynx.
>
> The page in question is http://www.cwmcadnantvalley.co.uk/bookenq.php ,
> and the source of the page is at the same domain, page bookenq.php.txt
>
> Could this be something wrong with the w3 validator, or perhaps things at
> my end?
Are you validating the PHP source? This can't work. You have to validate
the output of the script, i.e. the result in the browser. And I get a
green there.
Micha
|
|
|