POST method doesn't work, but GET does?

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Tue Jan 07, 2003 9:10 am

Post that piece of code, so we can check for possible mistakes.
bye!

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Tue Jan 07, 2003 3:43 pm

Code: Select all

<?php echo $HTTP_POST_VARS["username"]; ?><BR> 
<?php echo $HTTP_POST_VARS["password"]; ?>

try this one
bye!
;)

Hurkle
New php-forum User
New php-forum User
Posts: 36
Joined: Tue Jan 07, 2003 8:45 am
Location: Minnesota, USA

Post by Hurkle » Tue Jan 07, 2003 3:55 pm

depending on your settings, you might also get away with this:

Code: Select all

<?php echo  $_POST['username'] . "<BR>" . $_POST['password'] ;?>


Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest