Raised This Month: $ Target: $400
 0% 

Form and Redirecting PHP/HTML Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 05-27-2011 , 03:00   Form and Redirecting PHP/HTML Help
Reply With Quote #1

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-familyarial,verdana,sans-serif;
    
margin1.2em 0 .3em;
    
color#f28812;
    
border-bottom1px 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
__________________
JailBreak Mod with Plugin API ( 90% ) Public

Last edited by shuttle_wave; 06-15-2016 at 23:50.
shuttle_wave is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode