Find Jobs
Hire Freelancers

HTML form data - to email when user submits

$2-8 USD / hour

Completed
Posted almost 8 years ago

$2-8 USD / hour

I have a form designed in html. I need the entire data of that form on email when some user fills it (via php). It is a simple form to email project. Budget is $2. Project is immediate and needs to be finished now.
Project ID: 11008911

About the project

14 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
<?php if(isset($_POST['email'])) { $email_to = "you Email "; $email_subject = "Email from the site form"; if(!isset($_POST['first_name']) || !isset($_POST['last_name']) || !isset($_POST['email']) || !isset($_POST['comments'])) { died('We are sorry, but there appears to be a problem with the form you submitted.'); } $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $email_from = $_POST['email']; $comments = $_POST['comments']; $error_message = ""; $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/'; if(!preg_match($email_exp,$email_from)) { $error_message .= 'The Email Address you entered does not appear to be valid.<br />'; } if(strlen($comments) < 2) { $error_message .= 'The Comments you entered do not appear to be valid.<br />'; } $email_message function clean_string($string) { $bad = array("content-type","bcc:","to:","cc:","href"); return str_replace($bad,"",$string); } $email_message .= "First Name: ".clean_string($first_name)."\n"; $email_message .= "Last Name: ".clean_string($last_name)."\n"; $email_message .= "Email: ".clean_string($email_from)."\n"; $email_message .= "Comments: ".clean_string($comments)."\n"; $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); ?> Thank you. <?php } ?>
$2 USD in 1 day
5.0 (5 reviews)
2.9
2.9
14 freelancers are bidding on average $4 USD/hour for this job
User Avatar
do you have html giles and server which supports email? if yes, can you provide me? I can do it for you, can we have a chat please?
$2 USD in 1 day
4.9 (235 reviews)
5.7
5.7
User Avatar
hello I have 6+ years of experience in Web development and mobile application development, I can do it very well , hire me and I won't disappoint you :)
$5 USD in 10 days
5.0 (55 reviews)
4.9
4.9
User Avatar
Hi, Ready to start work now & can finish this within a couple of hours. Please let me know if you have any queries. Regards, Mihir.
$5 USD in 1 day
5.0 (8 reviews)
4.4
4.4
User Avatar
Hello dear sir how may I help you? I am triple-M and I would like to complete your project in you budget. So don't worry boss I will do that. Thank you sir.
$2 USD in 1 day
5.0 (8 reviews)
3.1
3.1
User Avatar
Hi there - I’ve read your brief and I'm very interested in it. I'm very good at php,javascript, Mysql, CSS, jquery, codeigniter,wordpress,angular.js and ember.js ...etc
$2 USD in 1 day
4.8 (9 reviews)
3.1
3.1
User Avatar
Hi... i read the descriptions and understand i will provide quality work according to your requirement in given time period i will work on our project until you satisfy i am professionally software engineer(Present) having 2 year experience in this field you can check my portfolio. i will feel confidence to work with you....! Thanks
$5 USD in 1 day
4.4 (6 reviews)
3.3
3.3
User Avatar
Hello Hope you are doing great. I have checked your requirements. i am ready to work right away. Please reply me Thanks komal
$2 USD in 48 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 3 year experience in php web-developing and still working on it. I give my best performance to you and will with you still not get satisfied. my skype is rohit.bajariya1.
$5 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Mumbai, India
4.8
32
Payment method verified
Member since Nov 5, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.