Hiding URL info
Moderator: General Moderators
Hiding URL info
Hey guys,
Is there anyway to hide URL info?
I switched from a <FORM action="lg.php" method="post"> to <FORM action="lg.php" method="get">
So now you can see what im passing to the next page.
lg.php?cisco_router=11.11.11.11&cisco_dev_cmd=ping&cisco_para=10.0.0.1
Is there anyway to hide URL info?
I switched from a <FORM action="lg.php" method="post"> to <FORM action="lg.php" method="get">
So now you can see what im passing to the next page.
lg.php?cisco_router=11.11.11.11&cisco_dev_cmd=ping&cisco_para=10.0.0.1
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
crazytopu
- Forum Contributor
- Posts: 259
- Joined: Fri Nov 07, 2003 12:43 pm
- Location: London, UK
- Contact:
So I could use mod_rewrite to hide this ugly looking code?You can do that with POST, COOKIE or SESSION. You do not need to use GET. Alternatively, you can use a solution like mod_rewrite to make your urls not look so ugly and transparent.
My first project - http://www.ibcs-primax.com/link1.php?link_id=5
Ah! wish i had known it then...i so much hated how it looked so transparent and was reavealing all my skills
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
As long as you are on Apache, yes. You could make that URL look like this if you wanted to...
http://www.ibcs-primax.com/links/5/
Alternatively, you could add text instead of ids, so it looks like
http://www.ibcs-primax.com/links/title-of-the-link/
http://www.ibcs-primax.com/links/5/
Alternatively, you could add text instead of ids, so it looks like
http://www.ibcs-primax.com/links/title-of-the-link/
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA