View previous topic :: View next topic |
Author |
Message |
mikalasa -
Joined: 11 May 2002 Posts: 2
|
Posted: Sat May 11, 2002 3:04 pm Post subject: POST and GET troubles... |
|
|
I've just installed the webserver on a WinXP machine. I'm using PHP, and everything runs smoothly except for a problem when submiting POST and GET forms: they just don't work. When a form is submited, nothing happens. And code is so simple! :
<html><body>
<?php
if (!isset($username)) {
echo('<form action="formget.php" method="GET">');
echo(' Your name: <input type="text" name="username">');
echo(' <input type="submit" value="Send">');
echo('</form>');
} else {
$aVar = "<b>Hello ".$username."</b>...<br>";
echo($aVar);
echo(" yor IP adress is: ".$REMOTE_ADDR."<br>");
}
?>
</body></html>
Is there something special with php - configuration ? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
mikalasa -
Joined: 11 May 2002 Posts: 2
|
Posted: Mon May 13, 2002 3:27 pm Post subject: |
|
|
aprelium.... thanks a lot :D
thank You ! :D
it's working now ! |
|
Back to top |
|
|
|