httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryl Cook <>
Subject [users@httpd] Help with POST command
Date Tue, 19 Aug 2003 15:54:32 GMT
Im running apache 2.0.46 and have created a script on tru64 5.1b machine 
that runs fine.  The opening html script asks for an INPUT field that 
the user types in their username.   The script then calls a php script 
that verifies the name.  Inside the php script I can do 
printf($username) and get the username that I entered in the html script 
  that called this script.  This works on the tru64 machine but when I 
copy this over to a linux 9.0 box the $username field is empty.  What 
would be different with the two?  Below is basically what I have:

login.html script:

  <title>Login Screen</title>
<body bgcolor="#FFFFFF" text="#000000">
<FORM METHOD=post ACTION="./verifyuser.php/">
<table width="330">
<td colspan="2" >
<div align="center" style="background-color: #C0C0C0"><b>Enter username 
  <div align="right"><font color="#808000">Username</font></div>
  <INPUT TYPE="text" NAME="username" size="20">

  <INPUT TYPE="submit" VALUE="Save">

then in the php script it just has :

printf("Username =%s",$username);

as i said, this works no problem on tru64 but on linux the username 
field is empty....why would the username field not get passed on the 
linux machine?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message