FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Protect Your Page With Simple Login But Yet Powerful Script

 


wadja-host
Simple login script gives u all features of password protecting a page it has space for up to 999 different user id and passwords and also allows you to set custom error message or password not correct messages

and since it only a form you can customise it as you want

click the link below to dowload

http://downloadprotectmypage.9hz.com/

free of course use wisely please fre to edit and manipulate
thedinh
can you design a login page using user ang pass word from database.???
Hogwarts
http://dev.pastebin.ws/6q8uaj/
That's his code (so you don't have to waste time downloading a file)

The script is horrible. Several reasons for this
  • Works on a per-page basis, you have to log in on each page.
  • Uses a static username and password. Given that it defines a "$LOGIN" and "$PASSWORD" variable at the top, you can have about one username without redoing the script (it's an incredibly easy one to write anyway)
  • Lacks MD5 hashing
  • It uses CAPITALS for variable names, i.e. $LOGIN and $PASSWORD, which is a horrendous practice
  • Why the hell is it using $PHP_AUTH_USER and $PHP_AUTH_PW as username and password? Those variables were deprecated in PHP 4.10. They're now $_GET['php_auth_pw'] and $_GET['php_auth_user'] Rolling Eyes
I honestly could go on for days picking apart how horrendous that script is, whereas you could just do a few lines in a .htaccess and a .htpasswd file Rolling Eyes
Related topics

simple login script
Simple login system
A good script.
How do you define mathematics?
programming Language to learn

AJAX tutorial [2nd part now updated]
CuteFTP Professional
Transfer files without downloading them!!
Could someone create a really simple login system???
Simple and Detailed Mail Script

Looking for easy FormMail Script
PHP login/logout problem
Running a "Hello World" php script
Java tutorials
another simple php request
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.