News for Everyone!!!
Posted: Wed Aug 10, 2005 5:46 pm
Call me stupid, but I just made my first PHP/MySQL script. Woohoo!
Sorry, to get to the point...
I am an incredible genius, but could someone possibly show me how Session IDs work? Here's more information about my query...
This is a description of my PHP script:
It allows you to input information that passes through a PHP file, gets added to the MySQL.
It then shows all MySQL entries (in an organized fashion) on another PHP page.
The MySQL also has an 'auto_increment' id field.
If you go to mydomain.com/update.php?id=1 you can update the information (obviously of the entry id 1).
I was hoping someone could tell me how to secure this.
What I want is a link on another PHP file that links to update.php but with a completely random ever-changing session ID so that only this certain person viewing it can actually "update" their SQL entry.
Any suggestions? I would've done this in another forum, like support, but I don't need a quick answer, just when someone has time.
Sorry, to get to the point...
I am an incredible genius, but could someone possibly show me how Session IDs work? Here's more information about my query...
This is a description of my PHP script:
It allows you to input information that passes through a PHP file, gets added to the MySQL.
It then shows all MySQL entries (in an organized fashion) on another PHP page.
The MySQL also has an 'auto_increment' id field.
If you go to mydomain.com/update.php?id=1 you can update the information (obviously of the entry id 1).
I was hoping someone could tell me how to secure this.
What I want is a link on another PHP file that links to update.php but with a completely random ever-changing session ID so that only this certain person viewing it can actually "update" their SQL entry.
Any suggestions? I would've done this in another forum, like support, but I don't need a quick answer, just when someone has time.