login.php requires config.php and bar.php
config.php requires important.php
(if initialized correctly - config.php is written by install.php)
and the $userData comes from this in important.php:
I think this was written for an earlier version of php.Code:<? if($check !="10245"){ die(); } // Sessions $Username = "$one"; $Password = "$two"; // Misc Vars $dateVar = date("m/d/y"); $IP_Address = $_SERVER['REMOTE_ADDR']; // User Data if($Username !="" && $Password !=""){ $userQuery = mysql_query("SELECT * FROM users WHERE user ='$Username' AND pass ='$Password'"); $userData = mysql_fetch_array($userQuery); } // Stylesheet Echo" <head> <LINK REL='stylesheet' HREF='style.css' TYPE='text/css'> </head>"; ?>



Reply With Quote

Bookmarks