Form Addition / Validate

I have a very simple one input form (in PHP) that I would like to modify. It saves the data input into the form text box in a text file.

I need it to open the text file first, check if the entry is already in the text file, if it is it will just display a message saying "Already Added" or if the entry is not in the text file, it writes to the text file then displays a message "Added"...

Here is the code and HTML...




$email = $_POST['email'] . PHP_EOL;

$file = fopen("[url removed, login to view]","a+");






<form action= "" method="post" name="form">

<input type="text" name="email">



<input type="submit" name="submit" value="submit"><br>


As you can see this is very simple. it currently opens the text file, writes the email address, done. It should open the text file, read it and then write if the entry does not already exist...

This is a very simple project using file_get_contents() and then use strstr() to see if $_POST['email'] is in the contents you read. Only if it isn't, then open and write the email address to the file.

Please bid according to needs, maybe 3 minutes of work.


Skills: HTML5, PHP

See more: project is for network specialist engineers only please bid if you have done this before, project is for network specialist / engineers only! please bid if you have done this before, magento print invoice error, php, website design, html5, form hidden post value, jquery modal dialog form post value php, aspx form redirect validate, zend form ajax validate, javascript form calculate validate, captcha php form send validate action, html form method post ie7 bug, form flash validate, form multipage validate php, creloaded print order error, form protect validate, php sign form javascript validate, simple javascript form validate example mootools, simple order form javascript

About the Employer:
( 20 reviews ) Ft Walton Beach, United States

Project ID: #15130365

Awarded to:


Hey, I can do that quickly. Regards, Rocky .

$12 USD in 1 day
(43 Reviews)

19 freelancers are bidding on average $22 for this job


Hello, We are experts in HTML,CSS,Boostrap,Jquery,Javascript,core Php, Magento, WordPress, Codeigniter, and many other open source framework Thanks Relevant Skills and Experience Hello, We are experts in HTML,CSS,Boos More

$30 USD in 0 days
(164 Reviews)

A proposal has not yet been provided

$15 USD in 1 day
(90 Reviews)
$21 USD in 1 day
(35 Reviews)

Hi greetings of the day I am a Experienced PHP Developer based out in Chennai,India. My experience revolves around development of web and mobile applications,Ecommerce websites. Relevant Skills and Experience I believ More

$25 USD in 1 day
(44 Reviews)

I am having sufficient experience in PHP I can do this task Relevant Skills and Experience >> Proficient in CMS- WordPress, Joomla. >> Proficient of php/mysql, Javascript, Ajax, HTML5, PHP, CSS3, Jquery Proposed Mi More

$10 USD in 0 days
(55 Reviews)

yes i read your code ,let me know i will get it done right away, looking forward for the reply to shake of more clarity Relevant Skills and Experience php ,codeigniter,javascript,json,html,mysql Proposed Milestones $ More

$15 USD in 1 day
(15 Reviews)

Hello Sir, I would like to offer cooperation on this project. I am very reliable and efficient. The project will be deliver asap. I am ready to start work now. For more details contact with me. Relevant Skills and Exp More

$35 USD in 1 day
(6 Reviews)

Dear Mr/Mrs/Ms.I have developed many php script for web scraping and manage of data. I have the required experience, see my portafolio. Relevant Skills and Experience my skills are in php, javascript, java, html, pyth More

$25 USD in 1 day
(6 Reviews)

Hello sir, - I have a good experience in PHP, photoshop,bootstrap 3, CSS3 and HTML5. Relevant Skills and Experience Our Work [login to view URL] [login to view URL] [login to view URL] http://fla More

$25 USD in 1 day
(12 Reviews)

Here is the some of my best links which i have designed and front-end develop in past years. We are sure that we can deliver you immediately the best work. Relevant Skills and Experience I am full time freelancer. I h More

$25 USD in 1 day
(3 Reviews)

Hello Sir, How are you doing? I went through your requirement is validation on text file records and Yes I can do. I will be available to discuss in detail Thank you Rajesh Kumar

$30 USD in 1 day
(2 Reviews)

I will do your Validation in short time message for discussion. Relevant Skills and Experience I have 3 year experience in web developing Proposed Milestones $20 USD - Payment I am waiting your valuable answer. Than More

$20 USD in 1 day
(4 Reviews)

My 7 year Experience in PHP and Js. We are ready to allocate our resource and to start working on this project right away with our utmost dedication and quality of work. Relevant Skills and Experience Relevant Skills More

$15 USD in 0 days
(3 Reviews)

i have completely understand your requirement as relavent skill. Relevant Skills and Experience Excellent command on PHP/MySQL, testing, html5/css3, Javascript, J-Query, Photoshop, bootstrap, PSD slicing, convertin More

$25 USD in 1 day
(0 Reviews)

. Relevant Skills and Experience i have good knowlede i have good team and i can do it [login to view URL] we all are degree holders .i can send my team [login to view URL] select our [login to view URL] Proposed Milestones $33 USD - . .

$33 USD in 2 days
(0 Reviews)

Can start the work immediately

$15 USD in 1 day
(0 Reviews)

Hey, I have gone through your post and want to discuss some points regarding your requirements. Therefore, would request you to initiate the chat in order to clarify my queries/comments. Relevant Skills and Experienc More

$13 USD in 1 day
(0 Reviews)
$25 USD in 1 day
(0 Reviews)