T
The Thinker
Guest
<?php
# Setup Message
$msgBody = "Name:: {$_POST['name']}\n
Age:: {$_POST['age']}\n
Steam ID:: {$_POST['steamid']}\n
Game Branch:: {$_POST['branch']}\n
Game Exp:: {$_POST['exp']}\n
Can you donate?:: {$:_POST['donate']}\n
Got a mic?:: {$:_POST['mic']}\n
E-mail Address:: {$_POST['email}\n\n
Comments:\n\n{$_POST['comments']}";
$to = "[email protected]";
$subject = "Application";
$from = $_post['email'];
$headers = 'From: '.$from."\r\n";
mail($to, $subject, $msg, $headers);
?>
<p><form action="apply.php" method="post">
<font color="gray">
<b>Name:<br><input type="text" name="name"><br><br>
<b>Age:<br><input type="text" name="age"><br><br>
<b>Steam ID:<br><input type="text" name="steamid"><br><br>
<b>Do you have a mic?:<br><input type="text" name="mic"><br><br>
<b>Game Branch:<br><input type="text" name="branch"><br><br
><b>Game Exp:<br><input type="text" name="exp"><br><br>
<b>Can you donate?:<br><input type="text" name="donate"><br><br>
<b>Email Address:<br><input type="text" name="email"><br><br>
<b>Comments:<br><textarea name="comments" cols="50" rows="5" wrap="VIRTUAL"></textarea><br>
<input type="submit" value="submit">
</font>
</form>
Ok, I posted my forms above. Now here is the problem. Whenever I try and submit my form via the submit button, it is suppose to email the whole form to me. Now what am I doing wrong? Does Geocities not allow .php files?
What happens when I enter the info and go to send it, it just goes to a blank page. How do I fix this?
...how exactly do i save something that has both html and php in it? or do i save it as a dif file? i know u save normal html as .html and php as .php but combined? do i save it as .php or .html?
# Setup Message
$msgBody = "Name:: {$_POST['name']}\n
Age:: {$_POST['age']}\n
Steam ID:: {$_POST['steamid']}\n
Game Branch:: {$_POST['branch']}\n
Game Exp:: {$_POST['exp']}\n
Can you donate?:: {$:_POST['donate']}\n
Got a mic?:: {$:_POST['mic']}\n
E-mail Address:: {$_POST['email}\n\n
Comments:\n\n{$_POST['comments']}";
$to = "[email protected]";
$subject = "Application";
$from = $_post['email'];
$headers = 'From: '.$from."\r\n";
mail($to, $subject, $msg, $headers);
?>
<p><form action="apply.php" method="post">
<font color="gray">
<b>Name:<br><input type="text" name="name"><br><br>
<b>Age:<br><input type="text" name="age"><br><br>
<b>Steam ID:<br><input type="text" name="steamid"><br><br>
<b>Do you have a mic?:<br><input type="text" name="mic"><br><br>
<b>Game Branch:<br><input type="text" name="branch"><br><br
><b>Game Exp:<br><input type="text" name="exp"><br><br>
<b>Can you donate?:<br><input type="text" name="donate"><br><br>
<b>Email Address:<br><input type="text" name="email"><br><br>
<b>Comments:<br><textarea name="comments" cols="50" rows="5" wrap="VIRTUAL"></textarea><br>
<input type="submit" value="submit">
</font>
</form>
Ok, I posted my forms above. Now here is the problem. Whenever I try and submit my form via the submit button, it is suppose to email the whole form to me. Now what am I doing wrong? Does Geocities not allow .php files?
What happens when I enter the info and go to send it, it just goes to a blank page. How do I fix this?
...how exactly do i save something that has both html and php in it? or do i save it as a dif file? i know u save normal html as .html and php as .php but combined? do i save it as .php or .html?