How can I hide a $_GET variable to be more secured in PHP?

Posted by ggfan on Stack Overflow See other posts from Stack Overflow or by ggfan
Published on 2010-04-15T03:19:04Z Indexed on 2010/04/15 3:23 UTC
Read the original article Hit count: 336

Filed under:

So far all my sites use mostly $_GET's to get the data for a page.

Ex:

editad.php?posting_id=131

editaccount.php?user_id=2

-->is there a way to hide or be more secured about what the user can see? I don't want them to be just able to say type "editad.php?posting_id=40" in the URL. I know I can use POSTS, but is there a way for GETs or not?

-->How can I be more more secured?

© Stack Overflow or respective owner

Related posts about php