Announcement
Collapse
No announcement yet.
how to password protect a web page?
Collapse
X
-
Originally posted by burnerhow 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=6Outbreak -
-
Originally posted by Outbreak View Post
For the second link, how do I install the phpMyAdmin program?
Comment
-
Originally posted by burner View PostFor the second link, how do I install the phpMyAdmin program?Outbreak -
Comment
-
MySQL Databases
Originally posted by Outbreak View PostYou 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.
Comment
-
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
Comment