Skip to content

Puneet Pandey's Weblog

Where Perfection meets Intelligence

  • About Puneet Pandey

Tag: simple login page

Create a Login Script

Hello Guys, Here I m Writing A Simple Login Script for a User…

<HTML>

<HEAD> LOGIN SCRIPT

<SCRIPT LANGUAGE=”JavaScript”>

function animate()
{
window.document.title=textDisplay[y].substr(0, x)+””;
if (z==0) x–;
if (z==1) x++;
if (x==-1) {z=1;x=0;y++;y=y%textCount;}
if (x==textDisplay[y].length+10) {z=0;x=textDisplay[y].length;}
parent.window.document.title=textDisplay[y].substr(0, x)+””;
setTimeout(“animate()”,75);
}

</SCRIPT>
</HEAD>

<BODY onLoad=”animate();>

<form name=”login” action=”validate.php” method=”post”>

<table cellpadding=”4″>

<tr>
<td><font face=”verdana” size=”2″>Username :</font></td>
<td><input type=”text” name=”username” size=”20″ maxlength=”25″ tabindex=”1″><br></td>
</tr>
<tr>
<td><font face=”verdana” size=”2″>Password :</font> </td>
<td><input type=”password” name=”password” size=”20″ maxlength=”25″ tabindex=”2″></td>
</tr>
</table>
<br>
<center><input type=”submit” name=”submit” value=”SUBMIT”></center>
</form>
</BODY>

</HTML>

Guys What I do is I have Written the code of simple php login script. here the Cursor will be shown on the Username Default, for that I have written a animate() javascript.

I hope you all are familiar with this, Next I will Validate the Username and Password with the database and redirects the user to its home page.

Share this:

  • Click to email this to a friend (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to print (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Skype (Opens in new window)

Like this:

Like Loading...
Puneet Pandey PHP Leave a comment January 24, 2008 1 Minute

Enter Keyword

Recent Posts

  • How to keep multiple versions of Elasticsearch on MacOS
  • [Rails 6] Using bootstrap with Asset Pipeline or Webpacker
  • Requests that take more than 60s to complete fails – ElasticBeanstalk
  • Configure Delayed Job with Elastic Beanstalk
  • [Ruby]: Update hash values with Array

Top Posts

  • How to keep multiple versions of Elasticsearch on MacOS
  • Fetch contacts from Facebook using Ruby on Rails
  • [Ruby]: Update hash values with Array

Recent Comments

Surendra on [Ruby] Fetching Emails from Mi…
bhagath on Fetch contacts from Facebook u…
Ashwin on [Ruby] Fetching Emails from Mi…
Puneet Pandey on [Ruby] Fetching Emails from Mi…
Anish on [Ruby] Fetching Emails from Mi…

Blog Stats

  • 125,625 hits

I’m on Twitter

  • #GST on #FoodPackagingCharges how justified is that? 1 month ago
  • How to keep multiple versions of Elasticsearch on MacOS puneetpandey.com/2020/06/08/how… 8 months ago
  • [Rails 6] Using bootstrap with Asset Pipeline or Webpacker puneetpandey.com/2019/11/06/rai… 1 year ago
  • Requests that take more than 60s to complete fails – ElasticBeanstalk puneetpandey.com/2019/08/07/req… 1 year ago
  • Time to replace #MSDhoni now #CWC19? #Pant and #DK are ready! No hard feelings against this guy. 1 year ago

I’m on Facebook

Puneet Pandey's Profile
Puneet Pandey's Facebook profile
Create Your Badge

Puneet on Linkedin

View Puneet Pandey's profile on LinkedIn

Archives

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 1,627 other followers

Pages

  • About Puneet Pandey
  • Ruby on Rails, iOS & PHP
  • Travel, Living & Lifestyle

Gravatar Profile

Puneet Pandey

Puneet Pandey

Name : Puneet Pandey Designation : Engineer, Blogger, Freelancer, Content Writer Height : 5 feet 11 inches Weight : 95 kgs Blood Group : A+ Career Interests : Ruby on Rails, Photography, Singing, Cooking, Travelling

Personal Links

  • A Weblog for All RoR Developers
  • Ruby on Rails Delivery Expert Blog
  • GitHub Profile

View Full Profile →

Find my Posts with these Tags

Ajax on Rails Auto Complete a simple example how to create scaffold on rails assign user a session basic scaffolding example create a login page in PHP Elastic Beanstalk How to create scaffold in rails how to send tweets from rails application how to validate a username and password in php Login script PHP login script php script to validate username and password pik rails Rails 3 Rails4 rails for beginners rails scaffold rails tweet ruby Ruby 1.9.2 Ruby on Rails ruby on rails auto select ruby on rails scaffold Ruby on Rails with Ajax Auto Select simple login page simple php user validation script twitter4r validates username and password validate user in php
Blog at WordPress.com.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
%d bloggers like this: