hi, theos or any other coder, can u help me with a problem please.
ok ive got this recruitment form, and you have to stick the index.php in a folder in the modules section and an apply.php in the root folder.
everything works, apart from ,when i send the emila it gets tot he email address but the form comes up black, there is no information in the email when it gets to the mialbox, it gets there, but without anything in it.
<left>
<!--
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="www.clankit.bravoclan.com">ClanKit™</a><br>
</span></left>
<span class="style31">
</div>
</body>
</html>
<?
CloseTable();
include("footer.php");
?>
</span>
apply.php
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. */
/***********************************************************************************************************/
<?
$EmailTo = "*****@sfa-clan.org";
$Subject = "ClanKit 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($EmailTo,$Subject,$App,"From: $EmailAddress\n");
?>
<html>
<body bgcolor="#000000">
<center>
<font face="Arial"><font color="white"><b>Thank you for your time<br><A href="http://www.sfa-clan.org">Click Here</A> to return<b></font>
</body>
</html>
Packrat-MRP- Guest
Posted:
Thu May 05, 2005 1:53 pm
I had no problem with it
shrek_rock Captain
Joined: Nov 24, 2003
Posts: 709
Posted:
Thu May 05, 2005 2:06 pm
Try giving each of your values a variable...
value="" should be value="$RealName"
_________________
Campo Guest
Posted:
Sun May 22, 2005 12:47 pm
I am having the same problem. Anybody know what it needs? Perhaps the cgi-bin folder?
redwilly Nuke Soldier
Joined: May 30, 2005
Posts: 19
Posted:
Mon May 30, 2005 7:35 am
i dont know i just made my own, so much easier
Guest
Posted:
Sat Oct 29, 2005 5:26 am
Did you get this fixed, cos I got the same problem.
Here's my apply.php:
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. */
/***********************************************************************************************************/
<?
$EmailTo = "recruitment@bad.cybernetic-hosting.co.uk";
$Subject = "-=BAD=- Clan Recruitment Form from $FirstName\n";
$Name = "$FirstName\n";
$App = "RealName: $RealName\n GamerName: $GamerName\n Age: $Age\n Location: $Location\n EmailAddress: $EmailAddress\n Game?: $BF2orMOHAA\n Hours spent online per week: $Hours\n Other Clans: $Clans\n Will you be able to attend practices? $Practices\n Do you have DMW?: $DMW\n What is your DMW Username/ID: $DMWAccount\n About yourself: $About\n Would you help pay for a server?: $Pay\n Where did you hear about -=[BAD]=-?: $Where\n Have you read the Recruitment Policy and Clan Code of Conduct?: $IHave\n Additional information: $WhyJoin\n IP Address: $REMOTE_ADDR";
mail($EmailTo,$Subject,$App,"From: $EmailAddress\n");
?>
<html>
<body bgcolor="#000000">
<center>
<font face="Arial"><font color="white"><b>Thank you for your time<br><A href="http://bad.cybernetic-hosting.co.uk/">Click Here</A> to return<b></font>
</body>
</html>
<left>
<style type="text/css">
<!--
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #000000;
}
.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"><center>-=[BAD]=- Clan Recruitment Form</center></span><br>
<br>
<strong><center>Welcome!</center> <br><br> <center>If you are intrested in joining our clan then please click <A href="http://www.badclan.alphafrag.net/www/modules.php?name=Forums&file=viewtopic&t=141">here</A>
to view our Recruitment Policy within the Clan Code of Conduct. Then fill out the application form. Once submitted we will get back to you as soon as
possible, in the meantime why not
check out our forums.</center></strong> </p><br>
<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>
Are you applying for BF2, MOH:AA or both?:
<select name="BF2orMOHAA">
<option selected>-------</option>
<option>BF2</option>
<option>MOHAA</option>
<option>Both</option>
</select>
<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>
Do you have DMW?:
<select name="Weapon">
<option selected>-------</option>
<option>Yes</option>
<option>No</option>
</select>
If yes, what is your DMW Username/ID?:
<input name="Vehicle" type="text" size="20">
<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>
Where did you hear about our clan?:<br>
<textarea name="Where" cols="50" rows="3" textarea="textarea"></textarea>
<br>
Have you read, understood and agree with the Recruitment Policy and the Clan Code of Conduct?:
<select name="IHave">
<option selected>-------</option>
<option>Yes</option>
<option>No</option>
</select>
You can post new topics in this forum You can 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