Slexy.org is shutting down and stopped accepting new Pastes on May 4th, 2021.
Existing Pastes will stop being available on or after May 10th, 2021.
Author: Not specified Language: php
Description: Not specified Timestamp: 2017-08-22 07:14:05 +0000
View raw paste Reply
  1. <?php
  2.         $sCId           = (isset($_GET["cid"])          ?       $_GET["cid"]              :       '');
  3.         $sTagId         = (isset($_GET["tagId"])      ?       $_GET["tagId"]          :       '');
  4.         $sFileUrl       = 'clickmap-tracker.js';
  5.         if(strlen($sFileUrl) > 0 && file_exists($sFileUrl)){
  6.                 $sJsFile = file_get_contents($sFileUrl);
  7.                 $sJsFile = str_replace("@ID@", $sCId, $sJsFile);
  8.                 $sJsFile = str_replace("@ID@", $sTagId, $sJsFile);
  9.  
  10.                 echo $sJsFile;
  11.         }
  12. ?>
View raw paste Reply