HI there My hosting company say I have a problem with hotlinking .He told me to use this code .But I do not know where to put it can someone tell what to do here Frist one domain=$_SERVER['HTTP_HOST']; $domain2="proxy.org"; if($_GET['q']!=""){ // If no request: $referer=$_SERVER['HTTP_REFERER']; // Get referer $count=substr_count($referer,$domain); // Check to see if referer is not the proxys domain $count2=substr_count($referer,$domain2); // Check to see if referer is not the proxy.org if($count!=1 && $count2!=1){ // If there is an outside referer: if($_GET['q']!=""){ // If there is a request: header("Location: http://" . $domain . "/"); // Redirect to homepage and finish script exit(); } } } Second one You need to force base64 encoding on your proxy using the "$_frozen_flags" "'base64_encode' => 1" and "'rotate13' => 1" tags. Please let me know if you need anything else. Marco Jorge Tech Entrance Hosting http://www.techentrance.com Thank You