Jump to content


'hiding' a query string

  • Please log in to reply
1 reply to this topic

#1 wadi

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 April 2006 - 11:53 AM


How can i pass a query string (get method) so the user cannot see it and edit it in the url?

For example blabla.php?infothatisonlysupposedtobeseenbyuserid=1. I don't want the user to be able to see the info about another user. (for example)

I have a bunch of links displayed on a page with each another query string. I know about post arrays, i don't want to use forms though. Is it possible with php or is this possible with ajax?

Help would be appreciated.


#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 28 April 2006 - 12:22 PM

I'd suggest using AJAX. And I don't see the problem with using POST arrays. If your issue is using links vs. buttons to move to the next page, you can call a javascript submit through the link.

Info: PHP Manual

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users