google-site-verification: googlebaca44933768a824.html how to password protect a web page? - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

how to password protect a web page?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to password protect a web page?

    how can i protect a webpage on my website with a password?

    #2
    Originally posted by burner
    how can i protect a webpage on my website with a password?

    Check this out: http://httpd.apache.org/docs/1.3/howto/htaccess.html

    or

    http://www.phpeasystep.com/workshopview.php?id=6
    Outbreak -

    Comment


      #3

      For the second link, how do I install the phpMyAdmin program?

      Comment


        #4
        Originally posted by burner View Post
        For the second link, how do I install the phpMyAdmin program?
        You don't need phpMyAdmin really. All you need is a MySQL database. Connect to it using a free program such as HeidiSQL (http://www.heidisql.com/). Then you can use the GUI to create a database and import the *.sql file.
        Outbreak -

        Comment


          #5
          MySQL Databases

          Originally posted by Outbreak View Post
          You don't need phpMyAdmin really. All you need is a MySQL database. Connect to it using a free program such as HeidiSQL (http://www.heidisql.com/). Then you can use the GUI to create a database and import the *.sql file.
          How do you set up a MySQL database?

          Comment


            #6
            Easy Stuff. Use Php ;)

            Just make a input text form (method POST). Call it pass -> PHP :

            <?php
            $pass = $_POST["pass"];
            $mypw = "Your Password Here";
            if($pass == $mypw)
            {
            ?>
            <html>
            //Your HTML Stuff here , or you use an include
            </html>
            <?php
            }
            else
            {
            echo "Acces Denied";
            }
            ?>

            Hope it works ^^
            I havent worked with php since 2 years now :D

            i search a good source code for Dods with aimbot and other stuff i know this is the same engine as counter strike source but css hacks are not work in dods.

            Comment


              #7
              why not just refer to your host they should setup any admincp for you to control your server/site ( including page protection ).

              Comment

              Working...
              X