Commit Graph

14 Commits (c98d64edd143efffb616ec3b76a8c82c3aebdd2d)

Author SHA1 Message Date
Aadhavan Srinivasan 9638ae3af5 Updated regex for URL, because it wouldn't accept '=' or '?' characters in the URL
Aadhavan Srinivasan 1ecf347694 Removed string generation functions from this file, and instead included the file that contains them
Aadhavan Srinivasan 3fbb6c99df Switched 'GET' to 'POST'
Aadhavan Srinivasan b9a07e15fa Added additional information for database storage
Aadhavan Srinivasan e71014efcd Added the user who created the link into the database
Aadhavan Srinivasan a7ba5aa8e1 Modified the Regex to accept additional (valid) characters
Aadhavan Srinivasan 1c74b82f6e Removed database initialization code and instead used the function defined in db.inc.php
Aadhavan Srinivasan 3d36c2704a Added code to retrieve the user's location and store it in the database
Aadhavan Srinivasan 70f91c7586 Fixed bug where I accessed the database without opening a session
Aadhavan Srinivasan 8b68547644 Added code to generate a random GLink if the user doesn't submit one
Aadhavan Srinivasan 1b52864952 Added server-side checks to input
Aadhavan Srinivasan 92b70e632b Added code to print out the inserted data, and to check if the data was inserted by querying the database for the inserted data
Aadhavan Srinivasan c81937d6a5 Added code to insert data into Cassandra DB
Aadhavan Srinivasan 3bc6a56516 Added PHP file to make database queries