Page 1 of 1

How to hide variables from forms?

Posted: Mon Oct 20, 2003 11:30 pm
by tempuramaki
Hi, first post here. :D

I've just started with php and i need to hide the variables from forms in the URL. I really don't want it to show. Is there anyway to do this?

A simple example will be great!

Thanks.

Posted: Tue Oct 21, 2003 12:14 am
by murph
You can use POST instead of GET. Then when you get the variable its $_POST['var name'];

Posted: Tue Oct 21, 2003 1:45 am
by tempuramaki
Wow, its that simple! :oops:

Thanks a bunch!