Jump to content

[SOLVED] Help on a Contact Us Form


MattyB

Recommended Posts

<head>

    <title>Moderator Application</title>

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

   

</head>

<body>

<h1><MARQUEE bgcolor="#6699FF" loop="100" scrollamount="10" width="150%">Moderation Application on ChatChaos, please fill in as much as you can.Any false input and The form will be VOID.</MARQUEE></h1>

<form method="email" action="sendmail.php">

<EMBED src="http://www.chatchaos.org/danjpg.jpe" width="100%" height="110" align="center">

  NickName:<input name="sub" type="text" <br />

  Age:<input name="messages" type="text" <br />

  Gender:<INPUT type="radio" name="option"> Male<INPUT type="radio" name="option"> Female <br />

  Emails:<input name="email" type="text" <br />

  How long you Been on ChatChaos:<input name="message" type="text" <br />

  Why Do You Want To Become Moderator:<input name="message" type="text" <br />

  Do you Think you will be good a this job:<input name="message" type="text" <br />

  Do You Work on any other Chat-Sites:<input name="message" type="text" <br />

  How Many Times a week do you think you will be on:<input name="message" type="text" /><br />

<input type="submit" />

</form><div id="footer">

All contents of this site © 2008-2009 ChatChaos

<font face="Arial Unicode MS" size="4"><a href="http://chatchaos.org">Home</a> <a href="http://chatchaos.org/chat">Java-Chat</a></font></div>

</body>

</html>

 

*********sendmail.php***************

<?php

  $email = $_REQUEST['email'];

  $message = $_REQUEST['message'];

  $option = $_REQUEST['option'];

  $sub = $_REQUEST['sub'];

  $Age = $_REQUEST['messages'];

mail( "Staff@ChatChaos.Org", "Moderator Application",

    $message, "From: $email" );

  header( "Location: http://ChatChaos.Org" );

?>

Link to comment
Share on other sites

ok i Dont understand this Php Stuff lol But This is What i have now :P ???

 

<EMBED src="http://www.chatchaos.org/danjpg.jpe" width="100%" height="110" align="center">

<form method="post" action="send.php">

<table><tr><td>

Nickname: <INPUT NAME="Nickname" TYPE="text" SIZE=20 MAXLENGTH=20><BR>

Gender: <INPUT NAME="Gender" TYPE="checkbox" VALUE="Male">Male<INPUT NAME="Age" TYPE="checkbox" VALUE="Female">Female<BR>

Age: <INPUT NAME="Age" TYPE="text"  SIZE=3 MAXLENGTH=3><BR>

email: <INPUT NAME="email" TYPE="text"  SIZE=20 MAXLENGTH=50><BR>

How Long You Been on ChatChaos : <INPUT NAME="How Long You Been on ChatChaos" TYPE="text" SIZE=20 MAXLENGTH=50><BR>

Do you Think you will be good a this job: <INPUT NAME="Do you Think you will be good a this job" TYPE="text" SIZE=20 MAXLENGTH=50><BR>

Do You Work on any other Chat-Sites: <INPUT NAME="Do You Work on any other Chat-Sites" TYPE="text" SIZE=20 MAXLENGTH=50><BR>

How Many Times a week do you think you will be on: <INPUT NAME="How Many Times a week do you think you will be on" TYPE="text" SIZE=20 MAXLENGTH=50><BR>

 

</td></tr>

<tr><td align=center>

<INPUT TYPE="submit" value="submit" style="color: #ffffff; background-color: #000000">

</td></tr></table>

</FORM>

 

*******SendMail.php*********

<?php

  $Nickname = $_POST['Nickname'];

  $Gender = $_POST['Gender'];

  $email = $_POST['email'];

  $How Long You Been on ChatChaos = $_POST['How Long You Been on ChatChaos'];

 

mail( "Staff@ChatChaos.Org", "Moderator Application",

    $message, "From: $email" );

  header( "Location: http://ChatChaos.Org" );

?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.