Advertisement
plas71k

hex file - decoded

Dec 26th, 2012
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.76 KB | None | 0 0
  1. <?php
  2. $domain = preg_replace("/^(.*\\.)?([^.]*\..*)$/", "$2", $_SERVER["HTTP_HOST"]);
  3. $licensed                   = "bharatchannels.com";
  4. if (stristr($domain, $licensed)) {
  5.     $thisss = "good";
  6. } else {
  7.     die("Domain $domain is not licensed please contact [email protected]");
  8. }
  9. if ($video["source_id"] == 3) {
  10.     define("PHPMELODY", true);
  11.     include("admin/src/youtube.php");
  12.     $video_data = get_info("http://www.youtube.com/watch?v=" . $video["yt_id"]);
  13.     if (strpos($video_data[0], "xml") !== FALSE) {
  14.         $arr_length = count($video_data);
  15.         for ($i = 0; $i < $arr_length; $i++) {
  16.             $video_data[$i] = str_replace(array(
  17.                 "\n",
  18.                 "\t",
  19.                 "\r"
  20.             ), "", $video_data[$i]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement