YashikGarg / TheCafeteria

I made β˜• cafeteria website using php with πŸ” login/register authentication (using 🐬 mysql database)

Home Page:http://thecafeteria.42web.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

β˜• The Cafeteria

πŸ˜‰ Heyyy !! Nice To See you!! I made cafeteria website using php with login/register authentication (using mysql database)

Link - http://thecafeteria.42web.io/


✨ Some Salient Feature

  • πŸ” Login/Register Authentication
  • πŸ‡ Form Validation Using Ajax
  • πŸ”‘ Password Stored Encrypted In Database Using PHP Encryption (Hash-12)
  • πŸ“§ Message is send to mail using PHP Mailer Libraray

πŸ“Ή Video

⏩ - 3x


πŸ“Έ Screenshots

Home Page

  

Blog Page

     

Login/Register Page

  

Database

Contact Page

  


☁ Remeber

After Clonning Make Changes Of Database Infornation in add.php(Ln 3) , check.php(Ln 3) and sendmsg.php(Ln 4)

Replace This -

$conn=new mysqli('localhost','root','','cafe');

With -

$conn=new mysqli('localhost',Your_DB_User,Your_DB_Password,Your_DB_Name);

And Also Replace YOUR Eamil And Password In sendmsg.php(Ln 52,Ln 53,Ln 60) -

53. $mail->Username = 'infothecafeteria@gmail.com';    //Replace With Your Mail
54. $mail->Password = 'xxxxxxxxxxxx';                  //Replace With Your Mail Password 
60. $mail->addAddress('infothecafeteria@gmail.com', 'Admin');  //Replace With Your  Recipient

And For Creating Database Use This Command -

CREATE TABLE IF NOT EXISTS `members` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fname` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `lname` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


If You β™₯ It Please Drop a ⭐ πŸ˜‰

About

I made β˜• cafeteria website using php with πŸ” login/register authentication (using 🐬 mysql database)

http://thecafeteria.42web.io/


Languages

Language:PHP 79.1%Language:CSS 13.1%Language:JavaScript 4.9%Language:HTML 2.0%Language:Shell 0.7%Language:Hack 0.1%