Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

abhijeetbodas2001/AbhijeetPrasadBodas_190100004_ugacassign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains my code for the assignment given as part of the selection process for the post of Web Convenor of UGAC, IIT Bombay.

To run the code locally,

  • Install XAMPP server
  • "START" Apache and MySQL from the XAMPP control panel

Question 1

To access the login page-

  • Make a folder by the name 'phplogin' inside C:\xampp\htdocs
  • Copy the files from question 1 folder and paste inside this folder

Go to http://127.0.0.1/phplogin/index.php from your browser to access the login page.


Question 2

I have used the library "mysql-connector" to access the databse.

To use the script-

  • Save the python file from the Question 2 folder
  • In the command line, run "pip install mysql-connector"
  • cd to the directory where above python file is saved
  • Run "python login.py"

Question 3

Download addjson.py and data.json files from the Question 3 folder, add the data of the user to be added to the data base, in the format as is in the data.json file.

Other steps as in Question 2

About

Assignment code for UGAC web convener position application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published