Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vars from a form on an html page aren't tranfering over to php page

Status
Not open for further replies.

touregg

Programmer
Nov 7, 2003
46
US
This is my simple log in page

<html><head><title>Games Login Page</title>
<style type = "text/css">
body { background-color: lightblue; }
</style></head>
<body>
Please enter your username and password here.
<form action = "test.php" method="post">
Username (Callsign):
<br>
<input type="text" name = "user">
<br><br>
Password: <br>
<input type = "text" name = "pswd" maxlenght = "9">
<input type = "submit" value = "log In">
</form>
</body></html>


here is my php page

<html><head><title>Test</title></head>
<body>
<?php
echo ("hi <br>");
echo ($user);
?>
</body></html>
 
my fault. i didn't not have my php.ini file setup correctly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top