Creating a membership based site seems like a daunting task at first. If you ever wanted to do this by yourself, then just gave up when you started to think how you are going to put it together using your PHP skills, then this article is for you. We are going to walk you through every aspect of creating a membership based site, with a secure members area protected by password.
This is in continuation of the tutorial on making a membership based web site. Please see the previous page PHP registration form for more details. Download the code You can download the whole source code for the registration/login system from the link below: RegistrationForm.zip The ReadMe.txt file in the download contains detailed instructions. The login form Here is the HTML code for the login form. <form id='login' action='login.php' method='post' accept-charset='UTF-8'> <fieldset > <legend>Login</legend> <input type='hidden' name='submitted' id='submitted' value='1'/> <label for='username' >UserName*:</label> <input type='text' name='username' id='username' maxlength="50" /> <label for='password' >Password*:</label> <input type='password' name='password' id='password' maxlength="50" /> <input type='submit' name='Submit' value='Submit' /> </fieldset> </form> Logging in We verify the username and the password we received and then look up those in the database.
Adding a contact form helps in getting good leads quickly. Contact forms need not be complex. Here is a simple but powerful contact form that you can just download, customize and plug-in to your website. Also see: more free, modern contact forms from ReusableForms.com Download the contact form code You can download the contact form that best fits your needs and then customize as required. A simple contact form with three fields: Name, Email and Message
A popup contact form has many benefits. You can add a button/link in every page that pops up the contact form in a modal popup. That makes the contact form easily accessible from any part of the website. Your web site visitors do not have to ‘hunt’ for the ‘contact us’ page. Also see captcha forms from ReusableForms.com Download the popup contact form code You can download the contact form that best fits your needs and then customize as required.
Here is a ‘ready to use’ form that you can simply plug-in to your web site. All that you have to do is to download the code below, update the code to include your email, and attach form to your web site. You can easily customize the form for your needs. The code is 100% validated XHTML1.0 strict. Also see: free form downloads from ReusableForms.com Features of this contact form Standards compliant, accessible form 100% XHTML 1.