About php - Gachon-SLB/Server GitHub Wiki
php file location
First connect EC2
Input php file in var/www/html
addattendacne.php
Update attendance information
Input= semeter,courseid,id,week,day,time,state
OutPut= success or fail
addfriend.php
Add to friend
Input= my student number, firend`s student number
Output=success or fail
attendancestate.php
See attendance information
Input= courseid,title,week,time,date,attendance_state
Output= success or fail
findclassnum.php
How many people are in the classroom and how many friends are there
Input= student number,classroom, building
Output= classroom, number in classroom
findfriend.php
Confirm whether there is a person whose name is in one of the student's name or student's number or department.
Input= student number sel(1 : id=studnet number 2: id= name 3: id= dept_name)
Output=student number,name, dept_name
frindList.php.php
I get a list of friends who have added me to each other
Input= student number
Output= name , student number (in friend each other)
getattendance.php
Receive the attendance status of the class based on the class name and student number
Input= student number, course number
Output= time,week,day, attendance_state
getbeacon_info.php
Receive the name of the beacon based on information from the classroom and the building
Input=classroom, building
Output= beaconId
getbeaconinfo2.php
Receive information on classrooms and buildings based on the name of the beacon
Input= beaconID
Output= building,location
getc.php
Receive information on class based on building and classroom and time
Input= buliding,class,time,day
Output= title,dept_name, course`s time
getclass.php
Receive information on list that the student`s class based on student number and time
Input= year,student number
Output= building,classroom,course_id,title,name,course`s time
getclassbeacon.php
Receive information classrooms, buildings, and beacons based on student number
Input= student number
Output= building,classroom, beaconID
getclassinfo.php
Based on the time, building, and classroom, you will be given the name of the classroom and the start and end times of the classroom
Input= time.building,classroom
Output= course name,course`s time
getnbeaon.php
Receive information about the building and the classroom where all beacons are named and beacons
Input= date, student number
Output= building,classroom,beaconID
lady.php
Receive information about the class on whether you are taking classes in the building based on time,student number, building
Input= time, student number, building
Output= yes or no
update.php
Modify the beacon information
Input= student number, time
Output= none
update_location.php
Stores the ID information of the beacon to be modified
Input= student number, beacon id
Output= none
updatelocation.php
Update location information of a person
Input= student number,classroom,building
Output= none