hi i have a form in layer(division) and it submits to login.php, i am unable to get the values useing the http method following is the code.
please help
///////////THIS IS THE HTML WITH FORM IN DIV/////////////////
<div id="LoginLayer" class="loginclass" style="position:absolute; left:738px; top:224px; width:205px; height:21px; z-index:1; visibility: hidden; background-image: url(../graphics/background-main.jpg); layer-background-image: url(../graphics/background-main.jpg); border: 1px none #000000;">
<form name="form1" method="post" action="login.php">
<p align="center"><strong><font face="Geneva, Arial, Helvetica, sans-serif">Login</font></strong></p>
<table width="75%" border="0">
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Login:</font></td>
<td><input name="txtuser" type="text" id="txtuser" size="20"></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Password:</font></td>
<td><input name="txtpass" type="text" id="txtpass" size="20"></td>
</tr>
<tr>
<td> </td>
<td><div align="center">
<input type="submit" name="Submit" value="Enter">
</div></td>
</tr>
</table>
</form>
////////////////////////THIS IS THE LOGIN.PHP PAGE?/////////////////
<?php
session_start();
header("Cache-control: private"); //IE 6 Fix
include("db.php");
$login= $HTTP_POST_VARS['txtuser'];
$pass= $HTTP_POST_VARS['txtpass'];
echo $login;
echo $pass;
?>
just to let you know i dont have php on my comp or apache, i am running if off web host server ....
please help here
thanks