How can you disable a link to be show in addres bar

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!

Moderator: General Moderators

Post Reply
User avatar
Skywalker
Forum Contributor
Posts: 117
Joined: Thu Aug 29, 2002 3:33 am
Location: The Netherlands

How can you disable a link to be show in addres bar

Post by Skywalker »

How can you hid an URL from bar so that nobody can sees it?

for axemple like this

http://localhost/test/bestellijst.php?P ... n&Aantal=1

but may not been shown. in the adres bar and also not left in under in the browser. Who can help me with this.
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Hidden Filds

Post by AVATAr »

You can use hidden Fields,.. and post them like a form. So they dont appear on the URL
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

Or you could use sessions.
User avatar
gite_ashish
Forum Contributor
Posts: 118
Joined: Sat Aug 31, 2002 11:38 am
Location: India

Post by gite_ashish »

hi,

you can use method=POST in you <FORM>, so form variable will NOT be displayed in the URL.
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

Even if you do that you could just go and have a look in the code... I prefere sessions...
Post Reply