Skip to content

Registration System for Valentines Photobooth for Informatics College Northgate

License

Notifications You must be signed in to change notification settings

princepines/PhotoboothRegSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoboothRegSystem

Registration System for Valentines Photobooth for Informatics College Northgate

  1. Change the mysql ip/hostname, username and password, and database on action.php
// Database connection
$conn = new mysqli('iporhostname','usernamehere','passwordhere','databasenamehere');
if($conn->connect_error){
    die('Connection Failed : '.$conn->connect_error);
}else{
    $stmt = $conn->prepare("insert into photobooth_data (serial, name, email) values (?, ?, ?)");
    $stmt->bind_param("sss", $serial, $name, $email);
    $stmt->execute();
    mkdir("pictures/$serial", 0777, true);
    $stmt->close();
    $conn->close();
}
  1. Create a table called photobooth_data and columns : serial, name and, email.
  2. Start using the webpage.

About

Registration System for Valentines Photobooth for Informatics College Northgate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published