hello. I recently changed a web site i am managing over to using php generated html pages. each page contains the changeable content with a static header and footer attached.
the problem comes with the contact page which is managed by a frontpage webbot (i was not the initial designer of this page but i have used it's code for awhile now when the page were just straight html files). that does not seem to be able to handle the .php extension.
Code:
<?php // cggroup index page
require ('templates/header.html');
?>
<div class="content">
<h1>Contact Us</h1>
<p></p>
<p>Tell us what you think about our website, our products, our organization,
or anything else that comes to mind. We welcome all of your comments and suggestions.
You can also call us at 1-541-341-1230</p><br>
<!-- webbot-action in the following tag is not valid HTML -->
<form method="POST" onSubmit="" action="_vti_bin/shtml.exe/contactus.php" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" s-label-fields="TRUE" b-reverse-chronology="FALSE" s-email-format="TEXT/PRE"
b-email-label-fields="TRUE" s-date-format="%d %b %Y" s-time-format="%H:%M:%S" s-builtin-fields="REMOTE_NAME
REMOTE_USER HTTP_USER_AGENT Date Time" s-email-address="thecomicguys@comcast.net" startspan -->
<input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
<h2>What kind of comment would you like to send?</h2>
<input type="radio" name="MessageType" value="Complaint">Complaint
<input type="radio" name="MessageType" value="Problem">Problem
<input type="radio" checked name="MessageType" value="Suggestion">Suggestion
<input type="radio" name="MessageType" value="Praise">Praise
<h2>What about us do you want to comment on?</h2>
<select name="Subject" size="1" multiple>
<option selected>Web Site</option>
<option selected>Company</option>
<option selected>Services</option>
<option selected>Certification</option>
<option selected>Graders</option>
<option selected>(Other)</option>
</select>
Other:
<input type="text" size="26" maxlength="256" name="SubjectOther">
<h2>Enter your comments in the space provided below:</h2><br>
<textarea name="Comments" rows="5" cols="42"></textarea>
<h2>Tell us how to get in touch with you:</h2>
<table>
<tr>
<td>Name</td>
<td><input type="text" size="35" maxlength="256" name="Username"></td>
</tr>
<tr>
<td>E-mail</td>
<td><input type="text" size="35" maxlength="256" name="UserEmail"></td>
</tr>
<tr>
<td>Tel</td>
<td><input type="text" size="35" maxlength="256" name="UserTel"></td>
</tr>
<tr>
<td>Fax</td>
<td><input type="text" size="35" maxlength="256" name="UserFAX"></td>
</tr>
</table>
<input type="checkbox" name="ContactRequested" value="ContactRequested">
Please contact me as soon as possible regarding this matter.<br>
<input type="submit" value="Send to CGGroup">
<input type="reset" value="Clear Form">
</form>
</div>
<?php //include the footer
require ('templates/footer.html');
?> http://www.comicgradinggroup.com/contactus.php is the link to test the file out and see the error.
is it possible to use a php generated page for this contact form or will i have to use a straight html file for it to continue to work? (i have a normal html file being used in place of the .php page above)
<!-- edited to shorten horizontal scrolling -sde -->