Posted by Robin on 07/19/06 15:23
Dear All,
I have been trying to validate this PHP to XHTML 1.1 for days and run
out of ideas.... i have most of it validating now, but I cant quite
finish it! Any help would be great!
My PHP Script...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html><!-- #BeginTemplate "templates/template.dwt" --><!-- DW6 -->
<head>
<title>PHP Contact</title>
</head>
<body>
<form action="mail.php" method="post">
<!-- DO NOT change ANY of the php sections --><?php
$ipi = getenv("REMOTE_ADDR");
$httpagenti = getenv ("HTTP_USER_AGENT");
?> <input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti
?>" />
<h1>Contact Us</h1>
<p>Blah Blah</p>
<p>Your Name:
<input type="text" name="name" class="body" style="width: 242px" />
</p>
<p>Your Email:
<input type="text" name="email" class="body" style="width: 242px" />
</p>
<p class="body">Your Message</p>
<p><textarea name="body" style="width: 321px; height:
63px"></textarea></p>
<p><input type="submit" value="Send comments" /></p>
</form>
</body>
Navigation:
[Reply to this message]
|