Kaitosoto Posted February 18, 2007 Share Posted February 18, 2007 If mod_rewrite cannot do this, then can you tell me what I can do to hide something like: http://www.mysite.com/index.php?identity=8&linkstart=http://www.mysite.com/stuff/&linkend=03928423/thisimage39.jpg to http://www.mysite.com/index.php The point of it is, to not allow users to know what identity=8 part as the variable for identity would be generated randomly by the script itself on index.php, which stores it using GET into a variable $identifynum. The point of it is, I do not want users to be abusing the script by typing in randomly identity=9, identity=10, etc in the browser to execute it with their number. by their own leisure to execute the script. I figured by using mod_rewrite, I would be able to hide the variables as I believe it is possible to hide them by rewriting the actual identity=8 to something like id=8 so that users would not be able to see any of the args in the browser line as they would only see the index.php, while still enabling me to use the $_GET from the url that it is being redirected to. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 18, 2007 Share Posted February 18, 2007 You cannot do this with mod_rewrite. However what you'll want to do is perhaps implement sessions or use POST instead. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.