Forum Moderators: coopster
Here (I think I've found everything) is the relevant code.
-feedback.php
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>My Website - Contact Us</title>
<link rel="stylesheet" href="css/main_style.css" type="text/css">
<meta name="keywords" content="keyword list">
<meta name="description" content="page description">
<script language="JavaScript">
<!--
function checkForm(form)
{
if((form.from.value=="")¦¦(form.aName.value==""))
{
if(form.from.value==" "){
alert("Please enter your e-mail address.");}
if(form.aName.value==" "){
alert("Please enter your name.");}
return false;
}
else
{
return true;
}
}
//--></script>
<style type="text/css">
<!--
.style14 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #000000; }
.style10 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
.style11 {color: #cc0000; margin: 12px 15px 4px 15px; font-weight: bold;}
-->
</style>
</head>
<body bgcolor="#ffffff" text="#ffffff" link="#ffffff" vlink="#ffcc33" alink="#ffcc33">
<table border="0" align="center" cellpadding="0" cellspacing="0" class="pagetable">
<?
require("info.php");
require("topnav1.php");
?>
<tr>
<td class="nav" valign="top">
<?
require("leftnav.php");
?>
<img src="images/nav_bottom.gif" width="157" height="91"></td>
<td class="mainnothome" bgcolor="#FFFFFF" width="614">
<img src="images/pixt.gif" width="594" height="1" alt="space" title="space" border="0" />
<!--CONTENT HERE-->
<p class="mainhead">Your Feedback... </p>
<p class="maincopy">Give us your feedback, so we can improve the website.</p>
<p class="maincopy">Please let us know any improvements that could be made, any issues you had or suggestions you might have. </p>
<p class="maincopy"><span class="style10"><span class="style11"></span></span></p>
<form enctype='multipart/form-data' action='phpform/use/feedback/process.php' method='post'>
<table border="0" cellspacing="0" style="border-collapse: collapse" width="79%" cellpadding="0">
<tr>
<td height="30" width="163"><span class="style14"> Name</span></td>
<td height="30" width="308"><font face="Verdana">
<input type=text name='name'>
</font></td>
</tr>
<tr>
<td height="30" width="163"><span class="style14">E-mail</span></td>
<td height="30" width="308"><font face="Verdana">
<input type=text name='email'>
</font></td>
</tr>
<tr>
<td height="30" width="163"><span class="style14"> Rate the website! </span></td>
<td height="30" width="308"><font face="Verdana">
<select name='rating'>
<option value='10 - Excellent'>10 - Excellent
<option value='9'>9
<option value='8'>8
<option value='7'>7
<option value='6'>6
<option value='5 - Decent' selected>5 - Decent
<option value='4'>4
<option value='3'>3
<option value='2'>2
<option value='1 - Awful'>1 - Awful
</select>
</font></td>
</tr>
<tr>
<td width="163" height="30" valign="top"><span class="style14"> Comments</span></td>
<td height="30" width="308"><font face="Verdana">
<textarea name='comments' rows=10 cols=40></textarea>
</font></td>
</tr>
<tr>
<td colspan="2" height="25"><p align="left"><font face="Verdana" size="2">
<input type=submit value='Submit Form'>
</font></td>
</tr>
</table>
</form>
<p class="maincopy"> </p>
<p class="mainline"></p>
<p>
</p>
</td>
</tr>
<tr>
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="772"><tr><td class="footer">T: +99 (0)999 9999999 F: +99(0)999 9999999 E: sales@example.com</td>
<td class="footer_right">My Website © <?=date("Y")?></td>
</tr>
</table></td></tr>
</table>
</body></html>
-feedbackreply.php
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>My Website - Contact Us</title>
<link rel="stylesheet" href="css/main_style.css" type="text/css">
<meta name="keywords" content="keyword list">
<meta name="description" content="page description">
<!--
function checkForm(form)
{
if((form.from.value=="")¦¦(form.aName.value==""))
{
if(form.from.value==" "){
alert("Please enter your e-mail address.");}
if(form.aName.value==" "){
alert("Please enter your name.");}
return false;
}
else
{
return true;
}
}
//--></script></head>
<body bgcolor="#ffffff" text="#ffffff" link="#ffffff" vlink="#ffcc33" alink="#ffcc33">
<table border="0" align="center" cellpadding="0" cellspacing="0" class="pagetable">
<?
require("info.php");
require("topnav1.php");
?>
<tr>
<td class="nav" valign="top">
<?
require("leftnav.php");
?>
<img src="images/nav_bottom.gif" width="157" height="91"></td>
<td class="mainnothome" bgcolor="#FFFFFF" width="614">
<img src="images/pixt.gif" width="594" height="1" alt="space" title="space" border="0" />
<!--CONTENT HERE-->
<p class="mainhead">Your Feedback... </p>
<p class="maincopy">Thanks for sharing your feedback with us!</p>
<p class="maincopy">We will bear all serious comments in mind when updating our website. </p>
<p class="mainline"></p>
<p>
</p>
</td>
</tr>
<tr>
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="772"><tr><td class="footer">T: +99(0)999 9999999 F: +99(0)999 9999999 E: sales@example.com</td>
<td class="footer_right">My Website © <?=date("Y")?></td>
</tr>
</table></td></tr>
</table>
</body></html>
Could someone confirm that there isn't a valid email address here, and where I should put it?
Also, do you see any possible external file references, other than to each other.
Thanks for all replies :)
[edited by: tedster at 8:42 pm (utc) on Oct. 2, 2008]
[edit reason] Removed specifics [/edit]