Computers & Internet Logo

Related Topics:

M
Myambho Ruben Posted on Oct 31, 2013
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

I need a code of a simple login form with the output

1 Answer

Vikas Agrawal

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

New Friend:

An expert that has 1 follower.

  • Expert 110 Answers
  • Posted on Oct 31, 2013
Vikas Agrawal
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

New Friend:

An expert that has 1 follower.

Joined: Feb 04, 2010
Answers
110
Questions
0
Helped
24563
Points
303

<?php
require("db/config.php");
session_start();
if(isset($_POST["btnLogin"]))
{
$nm=$_POST["txtUid"];
$pas=$_POST["txtPass"];

$q=mysql_query("select * from userinformationtb where user_id='$nm' and password='$pas'");
$data=mysql_fetch_array($q);
$_SESSION["seid"]=$data["user_id"];

// session_id();
if($nm==$_SESSION["seid"])
{


header("location:php/home.php");
//echo "valid";
}
else
{
echo "invalid";
}

}

?>
<!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=iso-8859-1" />
<title>Untitled Document</title>
<link rel='nofollow' href="../css/style.css" rel="stylesheet" type="text/css" />
type="text/javascript" src="js/script.js">
type="text/javascript" src="js/cufon-yui.js">
type="text/javascript" src="js/arial.js">
type="text/javascript" src="js/cuf_run.js">
<link rel="stylesheet" rel='nofollow' href="css/validationEngine.jquery.css" type="text/css"/>

src="js/jquery-1.8.2.min.js" type="text/javascript">

src="js/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8">

src="js/jquery.validationEngine.js" type="text/javascript" charset="utf-8">

>
jQuery(document).ready(function(){
// binds form submission and fields to the validation engine
jQuery("#frmLogin").validationEngine();
});

</head>

<body>

<form id="frmLogin" name="frmLogin" method="post" action="">

<table width="548" border="0" id="txtbrder">

<tr>
<td width="90" height="">Enter User Id </td>
<td width="152"><label>
<input name="txtUid" type="text" id="txtUid" class="tnm validate[required,custom[email]] text-input" />
</label></td>
<td width="56"><div align="left">Password</div></td>
<td width="154"><label>
<input name="txtPass" type="password" id="txtPass" class=" tnm validate[required] text-input validate[required,minSize[6]] text-input" />
</label></td>
<td width="74"><label>
<input name="btnLogin" type="submit" id="btnLogin" value="LogIn" style="background:#0000FF;color:#fff;"/>

</label></td>
</tr>
</table>
<a rel='nofollow' href="php/userinfo.php">Create New Account</a> &nbsp;&nbsp;&nbsp;&nbsp;
<a rel='nofollow' href="php/forgotpassword.php"> Forgot Password ?</a>
</form>
</div>
</body>
</html>

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

Username login Pam Breckenridge

Sounds like the NetFlix app updated and lost your previous login info. If your NetFlix account is still active, simple put the e-mail address and password into the correct fields. Should work after that, but if you have forgotten the login info or need to activate NetFlix you will need to contact NetFlix or use the online reset form. https://signup.netflix.com/LoginHelp
tip

Both of these add-ons are by the same author https://blueimp.net/mozilla/ and...

Both of these add-ons are by the same author https://blueimp.net/mozilla/ and semi-automate logins and forms for most websites. They take the legwork out of form filling just do it once and use this for all you logins.

Secure Login - Secure Login is a login extension for Mozilla Firefox integrated password manager.Its main feature is similar to Opera's (the browser) Wand login.

AutoFill Forms - Even though this is a good idea AUTOFILL FORMS PROJECT IS SEARCHING FOR A NEW DEVELOPER

Net Notes - Net Notes allows you to easily store notes on websites in your bookmarks.
on Apr 30, 2010 • Cycling
tip

Automate Login and Forms on Firefox

All three of these add-ons are by the same author https://blueimp.net/mozilla/ and semi-automate logins and forms for most websites.

They basically take the legwork out of form filling just do it once and use this for all you logins.

Secure Login - Secure Login is a login extension for Mozilla Firefox integrated password manager.Its main feature is similar to Opera's (the browser) Wand login.

AutoFill Forms - Even though this is a good idea the developer is no longer going to improve this XPI, if any one is interested contact blueimp as above.

Net Notes - Net Notes allows you to easily store notes on websites in your bookmarks.
on Apr 30, 2010 • Mozilla Firefox
0helpful
1answer

Login form

Best guess is that the permissions fo the JAAVA script are not correct. THey must be set to 757.

Hope this helps you.

Good Luck!
1helpful
1answer

I am being asked for a security code when login

you just write to hotmail regarding the recovery of ur email address.just give them some proof of ur email like related emails and get logged in.
0helpful
1answer

Problem is to login in the railway reservation system

Sir,
Check this link 
which software do u using?


Thanks Good Luck
Appreciate to rate as "Fixya"
0helpful
1answer

Login form

you can get all your answers here:
http://www.codeproject.com/
tis website is based on .NET programming, and you will learn many things there. Enjoy it!
Good Luck
2helpful
1answer

Source code for login form in ASP.NET

just go to this URL: 
http://www.codeproject.com/
You can find all your answers about .NET, here.
Not finding what you are looking for?

257 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...