Ben bezig om dit formulier voor onze clan werkend te krijgen, hij verstuurd ze wel maar blanco?
Ben nog niet zo bekend met PHP, dus vandaar jullie hulp AUB.
Code:
/*********************************************************************************************************/
/* ClanKit - Please Read! */
/* */
/* Fill in the appropriate areas to your customisation. */
/* E.g. You must change your_email_address@email.com to your own one. */
/* IMPORTANT: DO NOT EDIT THE $App line unless you know what you are doing, o */
/* you can read the instruction manual included with your ClanKit package. */
/***********************************************************************************************************/
<?
$Email = "****@****.com";
$Subject = "Legends Recruitment Form from $FirstName\n";
$Name = "$FirstName\n";
$App = "RealName: $RealName\n GamerName: $GamerName\n Age: $Age\n Location: $Location\n EmailAddress: $EmailAddress\n Hours spent online per week: $Hours\n Other Clans: $Clans\n Will you be able to attend practices? $Practices\n Your favorite weapon?: $Weapon\n Your favorite vehicle: $Vehicle\n About yourself: $About\n Would you help pay for a server?: $Pay\n Where did you hear about 2ndRB?: $Where\n $WhyJoin\n IP Address: $REMOTE_ADDR";
mail($Email,$Subject,$App,"From: $EmailAddress\n");
?>
<html>
<body bgcolor="#000000">
<center>
<font face="Arial"><font color="black"><b>Thank you for your time<br><A href= "index.php">Click Here</A> to return.<b></font>
</body>
</html>
<left>
<style type="text/css">
<!--
a:link {
text-decoration: none;
color: #666666;
}
a:visited {
text-decoration: none;
color: #666666;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #666666;
}
.style31 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
}
.style32 {
font-family: Arial, Helvetica, sans-serif;
color: #000000;
}
.style33 {color: #000000}
.style34 {font-family: Arial, Helvetica, sans-serif; font-size: 12px;}
.style37 {
font-family: "Courier New", Courier, mono;
font-size: 24px;
font-weight: bold;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<p class="style31"><span class="style37">RECRUITMENT FORM</span><br>
<br>
<strong>Welcome soldier! you are intrested in joining our clan then please fill out<br>
this application form
and submit it, we will get back to you as soon as<br>
possible and in the meantime you can
check out the forums.<br>
Thank you. </strong> </p>
<span class="style31"><left>
</left><left></left><left></left><left></left><left></left><left></left><left></left></span><span class="style32"><left></left></span><span class="style33"><left></left><left></left></span><left><form action="apply.php" method="post" name="Application" class="style33">
<div align="left>" class="style34">
Real Name:
<input name="RealName" type="text" value="" size="15">
Gaming Name:
<input name="GamerName" type="text" size="15">
<br>
Age:
<input name="Age" type="text" size="2">
<br>
Location:
<input name="Location" type="text" size="15">
<br>
Email Address:
<input name="EmailAddress" type="text" size="30">
Hours spent online per week:
<input name="Hours" type="text" size="15">
<br>
<br>
If you have been in a clan before, please list all of the<br>
ones you were in and the reason why you left them:<br>
<textarea name="Clans" cols="50" rows="3" textarea="textarea"></textarea>
<br>
<br>
Will you be able to attend practices and matches when scheduled?:
<select name="Practices">
<option selected>------------------</option>
<option>Yes</option>
<option>I'll do my best to be there</option>
<option>Maybe not</option>
<option>No</option>
</select>
<br>
<br>
Your favorite weapon?:
<input name="Weapon" type="text" size="20">
Your favorite vehicle?:
<input name="Vehicle" type="text" size="20">
<br>
<br>
<br>
Please explain a little about yourself, when you are normally online,<br>
when you can get a microphone (If you dont already have one) and anything<br>
else you would like to inform us:<br>
<textarea name="About" cols="50" rows="3" textarea="textarea"></textarea>
<br>
<br>
Would you help pay for a server?:
<select name="Pay">
<option selected>------------------</option>
<option>Yes</option>
<option>No</option>
</select>
<br>
<br>
And finally....<br>
Where did you hear about our clan?:<br>
<textarea name="Where" cols="50" rows="3" textarea="textarea"></textarea>
<br>
<br>
<input name="Submit" type="submit" value="Submit Recruitment Form">
</div>
</form>
<span class="style31">Powered by <a href="">ClanKit™</a><br>
</span></left>
<span class="style31">
</div>
</body>
</html>
<?
CloseTable();
include("footer.php");
?>
</span>
Deze twee bestanden zaten erbij, enigste wat je moest doen was je e-mail wijzigen.
Deze dus aangepast, hij verstuurd wel de mail maar zonder wat je in moet vullen?
Alvast bedankt
BlueLion Administrator
Joined: Aug 21, 2004
Posts: 2831
Posted:
Tue 08 Jul 2008 8:30
Middels
Code:
<input>
maak je een variabele
Code:
$RealName
Gebruik je deze variabele in de te versturen e-mail?
BL
_________________ Te Lezen: Forum Regels | Te Gebruiken: Forum Zoek Functie Aanbevolen PHP-Nuke versie: PHP-Nuke 7.6pl3.1! Aanbevolen Security AddOn: Nuke Sentinel™
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum