Jump to content

Easiest way to make sure form is only submitted once?


codeboy89

Recommended Posts

yea basically Stuie_b said use sessions

 

 

<?php
session_start(); // This starts the Sessions

if(!isset($_SESSION['form'])) { // this checks if the session is set or not
$_SESSION['form'] = "done"; // This sets the session

// Place your form proccessing here

} else { // If the Form is filled do the followin below

echo "You have alredy Filled out the form"; // Displays the message if the form is already filled

}

?>

Archived

This topic is now archived and is closed to further replies.

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