From Bitty Frog, 2 Months ago, written in PHP.
This paste is a reply to MyLead from MyLead
- view diff
Embed
  1. <?php
  2.  
  3.         ob_start();
  4.  
  5.         $ua = $_SERVER['HTTP_USER_AGENT'];
  6.  
  7.         if (preg_match('/facebookexternalhit/si',$ua)) {
  8.                 echo "<script>window.location.href = ';; // interia.pl
  9.                 die();
  10.         } else {
  11.                 echo "<script>window.location.href = 'twój_link';</script>"; // http://leadmy.pl/p/gyk4/Zlp6/n1z7
  12.         }
  13.  
  14. ?>
captcha