Purchase Solution

Adding a cookie

Not what you're looking for?

Ask Custom Question

In PHP and Javascript, when the given function has verified that all of the required field have been filled, a cookie is added to the user's computer. If the same user attempts to fill out the form a second time, the user will be directed to a separate HTML page advising them that they have already submitted the form.

Purchase this Solution

Solution Summary

Adding a cookie to a form in PHP and Javascript.

Solution Preview

This can be done very easily using php script.

For this you need to save your current .html page (my_contact_info_checked.hmtl) to .php page (my_contact_info_checked.php) and add the attached php code in the file (cookie script.txt) ,above the html tag in your web page (my_contact_info_checked.php).

To run and execute the php page on your local computer, you need to have the apache server installed. If you don't have that, then ...

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Networking Questions

This quiz consists of some basic networking questions.