Variable data, with out displayin in URL

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
Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

Variable data, with out displayin in URL

Post by Alexia »

I was wondering,

im trying to receive a remote file

then in a form edit it then when it clicks on submit, frights to the file, what im asking is, how do i do it so i sends the data without showing any thing in the url?

hope i explaned good...
User avatar
uberpolak
Forum Contributor
Posts: 261
Joined: Thu Jan 02, 2003 10:37 am
Location: Next to the bar

Post by uberpolak »

Use $_POST variables instead of $_GET variables.
Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

Post by Alexia »

uberpolak wrote:Use $_POST variables instead of $_GET variables.
thx, i forgot about those.
Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

Post by Alexia »

Sry, i dont get it....it still does this: code.php?motd=blah

and the motd is very big so it doesnt even work... i want it like this:
http://www.internic-d1.com/news/

becayse when you're loggin in it doest have this: index.php?login=blah&password=blah

thats why im trying to do,,, i suck at expalning... thx in advance
Chambrln
Forum Commoner
Posts: 43
Joined: Tue Dec 02, 2003 10:45 am
Location: Oregon

Post by Chambrln »

change your form method to post instead of get.
ex.
<form name=myform method=post action=upload.php>
Post Reply