PHP interesse |
|
<?php
ob_start();
if($_SERVER['REQUEST_METHOD'] == 'POST' AND !empty($_POST))
{
header("Location: pagina.html");
}
?>
<div>
<table border=0 bordercolor=000000 width=120>
<tr><td align=center>
<form name="MailForm" method="post" action="/mailform_sent.php" target=MailForm onsubmit="window.open('','MailForm','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=468,height=250,left = 412,top = 334')">
<table>
<tr><td align="center" valign="top" ><P></td></tr>
<tr><td>
<table border=0 align=center>
<tr><td align=right><font color="black">Artiest - titel</font></td><td align=left><input name="onderwerp" type="text" size=25 value=""></td><tr>
<tr><td align=right><font color="black">Uw Naam:</font></td><td align=left><input name="naam" type="text" size=25 value=""></td><tr>
</table>
</td><tr>
<tr><td valign=top colspan=2><font color="black">Voor wie is dit bericht bedoelt:</font></td></tr>
<tr>
<td colspan=2 align=center><textarea name="bericht" rows=10 cols=50></textarea><br>
<center><input type="submit" value="Verstuur bericht! 1x klikker AUB!">
<input type="Reset" name="reset" value="Maak formulier leeg!"></center>
</td></tr>
</table>
</form>
</center>
</div>
<?php if($_SERVER['REQUEST_METHOD'] == 'POST' AND !empty($_POST)) { header("Location: pagina.html"); } ?> <div> <table border=0 bordercolor=000000 width=120> <tr><td align=center> <form name="MailForm" method="post" action="/mailform_sent.php" target=MailForm onsubmit="window.open('','MailForm','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=468,height=250,left = 412,top = 334')"> <table> <tr><td align="center" valign="top" ><P></td></tr> <tr><td> <table border=0 align=center> <tr><td align=right><font color="black">Artiest - titel</font></td><td align=left><input name="onderwerp" type="text" size=25 value=""></td><tr> <tr><td align=right><font color="black">Uw Naam:</font></td><td align=left><input name="naam" type="text" size=25 value=""></td><tr> </table> </td><tr> <tr><td valign=top colspan=2><font color="black">Voor wie is dit bericht bedoelt:</font></td></tr> <tr> <td colspan=2 align=center><textarea name="bericht" rows=10 cols=50></textarea><br> <center><input type="submit" value="Verstuur bericht! 1x klikker AUB!"> <input type="Reset" name="reset" value="Maak formulier leeg!"></center> </td></tr> </table> </form> </center> </div>
|