PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
not very secure... always keep ALL the sensitive data at the server side..
there are ways to change the data the client sends to the server..
Ofcourse, it's a lot nicer to use POST instead of GET...
you could do it by building a form:
<form method="POST" action="goto.php">
<input type="hidden" name="admID" value="valuegoeshere">
<input type="submit" value="textonbutton">
</form>
If you look into javascript you could use a normal link with some javascript in it to submit a form
I would track a user by an id, and then load up db variables for that id. In this case, an adminID. Then within the script the verification can occur, and no variables such as adminID, or other sensetive stuff, needs to be within a GET request.
just to clarify the code in question is from an admin page where i am displaying a list of users and the admin is going to edit one of the users. and i would like it if i could say away from a form as the submit button will not look to good on the page.