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!

problem with $_POST

Status
Not open for further replies.

NICKYSUWANDI

Programmer
Jan 8, 2004
80
ID
i am newbie, i got problem with $_POST, this is my sample of code. When i test this program in my windows XP, theres no problem but when i try put in windows server 2003 (IIS 6.0) and run this code problem appear.Output from this code always return value " no submit".
In file PHP.ini, Register_globals=on.
Theres is something wrong with my setting or my code?
Thanks

<?
if (isset($_POST['Submit'])){
print " submit ";
}else{
print " no submit";
}
?>
<form action="Untitled-1.php" method="post" name="form1" target="_self">
<table width="200" border="0">
<tr>
<td width="66">NAMA</td>
<td width="124"><input name="usr" type="text" id="usr"></td>
</tr>
<tr>
<td>PASSW</td>
<td><input name="pass" type="password" id="pass"></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="submit" name="Submit" value="Submit">
</div></td>
</tr>
</table>
</form>
 
before i post this question, i had read that message,isn't same with problem,i am searching file urlscan.ini, there no file like that.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top