Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- session_start();
- $_SESSION["login"];
- $_SESSION["password"];
- include("functions.php");
- connect();
- function auth(){
- if(($_SESSION["login"]||$_SESSION["password"])==null){
- echo $auth_form;
- }
- else {
- echo $_SESSION["login"];
- }
- if(isset($_POST["log_in"])&&isset($_POST["login"])&&isset($_POST["password"])!=null){
- if(($_POST["login"]&&$_POST["password"])==select()){
- while($row=mysqli_fetch_assoc(select())){
- foreach($row as $res){
- echo $res;
- }
- }
- }
- }
- }
- auth();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement