Making login page in php ?


Actually i make a login page but want to chane some little in this script , my script in to about only login, if the login is success then the page is redirected to other place where i want otherwise login failed,

I make this script and its working good but i change it like this,

I use this code in Dreamweaver…

Member Login
Username :
Password :
----------------------------------------------------------------------------------------------------- This code will make a table which require username and password and finally a login button which under the username and password,

In this Code i want to replace “login” button to an image which i already make it, So any one who click on this image will do as same work which done by this “login” button,

please help me out thanks in advance


To change this:

You can use something like this:

<td><img src="button1.gif" onmouseover="this.src='button2.gif'" onmouseout="this.src='button1.gif" onclick="document.forms[0].submit()" /></td>

This will give you a nice two-picture display. When you “hover” over the button-picture, it will change to the second picture. When you move off the button-picture it reverts to the original. When you click on it, it will submit the form. Should work for you. (You have to change the button1.gif and button2.gif to your pictures.
Hope that helps!