Scripts.FranciscoCharrua.com
HotScripts.com - Over 10 web rings.
more links...
user name     password  
  Index    News    Samples    E-Mail me    Forums    Sign Up
  LOGIN.PHP

Make PHP generated web content available only to you! I derived this function from some PHP code that I used on the administrative portion of my database driven sites. isLogged() returns true if the cookies named UserName and PassWord are the same as $UserName and $PassWord, the first 2 paramters of the function. If not, it displays the content of $LogInPage, the 3rd paramenter.




The main thought behind this was to display the same login for all my admin pages, without have to repeat the same HTML code. Another purpose for this code was to keep MySQL queries, and other back-end code from being executed without permission.


see also :  login.php, login.asp, mysql-login.php, mysql-login.asp, user-login.php




hosting with cpanel    best hosting    premium website host