Jump to content

web form - half done


Recommended Posts

Like this from zymic.com ...

<?php

$youremail = "[email protected]";
// your email address

$subject = "Contact";
// the subject of the email

$thankyou = "thankyou.php";
// thank you page

// don't change anything else

if($email == ""){
?>
<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>

No email address was given. Please go back and try again.<br/>
<?php
}elseif($name == ""){
?>
No name was given. Please go back and try again.<br/>
<?php
}elseif($message == ""){
?>
No message was added. Please go back and try again.<br/>
<?php
}else{

$msg = ereg_replace("\\\'", "'", $message);
$msg = ereg_replace('\\\"', "\"", $msg);
$message1 = "from: $name\nemail: $email\nmessage:\n$msg1";

mail($youremail, $subject, $msg, "From: $email\r\nReply-to: $email\r\n");
?>
<meta http-equiv="refresh" content="0; url=<?echo $thankyou;?>"">
<?php
}
?>

I need someone to make a php file like this, which will send me web form to my email address. It is basicly that, but with more text fields and 1 circle check box.

If you can make me one, pm me. I will send you the form.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

 Share

×
×
  • 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. Privacy Policy