I need help. I am trying to create a php script for mobile devices so when u enter ur username and password and press login, it will submit the values of the form to "" and if the value is correct it will redirect to another site. I understand this might reqiure http request
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ormiston Mobile Site</title>
<META NAME="Author" CONTENT="">
<meta name="keywords" content="">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="220">
<meta name="viewport" content="width=320">
</head>
<style>
h2{
letter-spacing: -1px;
font-family: arial,verdana,sans-serif;
margin: 1.2em 0 .3em;
color: #f28812;
border-bottom: 1px solid #eee;
padding-bottom: .1em;
}
</style>
<body bgcolor="f7f6f6">
<center>
<img src="images/" width="260" border="0" class="center">
<h2 style="break: both;"> Enter your username and password</h2>
</center>
<form action="" method="post" name="f">
<center>
<table>
<tr>
<td rowspan="3"></td>
<td style="padding: .3em;">Username</td>
<td>
<input type="text" id="username" tabindex="1" name="username" value="" /> </td>
<td style="padding: .4em;" rowspan="3">
<input type="submit" tabindex="4" value="Login" /> </td>
</tr>
<tr>
<td style="padding: .3em;">Password</td>
<td><input id="password" type="password" tabindex="2" name="password" /></td>
</tr>
</table>
</center>
</br>
</form>
<p style="line-height: 150%">
</p>
</body>
</html>
__________________