PGF Gamers
Hi, and thanks for visiting =D

Login to post in forums and become more than a member!

Please wait a moment for the chatbox to load ;D

Where the fun begins!
Homedead forum =(FAQSearchMemberlistUsergroupsRegisterLog in
!!!!I am considering a full site overhaul to re-do everything. I will discuss with the other staff. If it happens the forum may go down for a day or two-Trevor!!!!


 HTML/PHP tutorial #4 - password protect a page

Go down 

Number of posts : 6
Age : 28
ranking : 3735
forum activity : 0
Registration date : 2009-02-01

HTML/PHP tutorial #4 - password protect a page Empty
PostSubject: HTML/PHP tutorial #4 - password protect a page   HTML/PHP tutorial #4 - password protect a page EmptySun Feb 01, 2009 7:58 am

Hello, my name is Cole Snydle. In my tutorials i will be using a mixture of PHP and HTML. One of my favorite hosts (a host is what you "host" your website on) is The good thing about Freehostia is that you can code from the site and you can host PHP and MySql. now just open up "Notepad", always and we will begin the tutorial.

Hey everybody, in this tutorial i will show you how to make another page, and password protect it (in a way).

first off, if your doing this on freehostia, it will make this a lot easier. just givin that we're going to be coding a bit of php here, (if your really good at computer stuff- as i am -you can go download WAMP server, it comes with apache and everything. download it here - so the first thing we need to do is make the other page so open up notepad, or on freehostia just make a new text file called "*whateveruwant*.php" now in that file, type this code-


<form name='password'  method="GET">
password:<input type="text" name="pass">
<br /><input type="submit" value="go!"><br />


if($pass == "password"){
<a href="wateveruput.html">correct</a>

if you want an example, just go to my site,

The Form isnt something you need to know right now or ever because all you have to do is go on google and typ "HTML form".

but the PHP, that you will learn in the PHP tutorial series.

hope you learned a lot Smile
Back to top Go down
View user profile
HTML/PHP tutorial #4 - password protect a page
Back to top 
Page 1 of 1
 Similar topics
» Cannot locate the class Select in web driver
» Tutorial pangkat di forum Indoclubfish
» IE9 and Selenium
» Brazilian Portuguese
» Tumor Free tutorials. new tuts up

Permissions in this forum:You cannot reply to topics in this forum
PGF Gamers :: Computers and Internet :: Building websites :: HTML-
Jump to: