Simple PHP Script

Simple PHP Script

sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Alright on my foras there seems to be a problem with the session table in the forum's database. I wrote this script to manually empty the sessions table. Tell me where I can improve if you would. All the sensitive information has been stared out, you know kids these days.

Its pretty self-explanatory, but I will tell you the basic flow of the program.

Admin arrives at index.php, they login
if login is successful they go to login.php they then have a hyperlink to admin.php
at admin.php they can clear the session table
also on admin.php they have a hyperlink to logout.php
logout.php logs you out and takes you to index.php

http://superjer.com/sprinkles/index.txt
http://superjer.com/sprinkles/login.txt
http://superjer.com/sprinkles/admin.txt
http://superjer.com/sprinkles/logout.txt
 
 
2010 Nov 1 at 12:15 PDT
Page [1]