Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cms_authorize($x,$y,$user,$pass){
- if (($user==$x)&&($pass==$y))
- echo "Witaj $x, twoje hasło to:$y";
- else
- echo "nooo chyba nie to hasło albo login";
- }
- require ('index.php');
- $user="franek";
- $pass="marian";
- $x =$_GET["login"];
- $y=$_GET["pass"];
- cms_authorize($x,$y,$user,$pass);
- require('index.php');
- if(!$x || !$y)
- echo "WPISZ DANE!!!!";
- else
- cms_authorize($x,$y,$user,$pass);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement