Welcome with Traffic-Klau.net most popular people sport in the web.
To examine the following script used around all accesses to the picture

<?php
 // Own Domain (" without; www." or such a thing)
 $selfdomain = "bsp-url.de";
 // Listing of the pictures (no Slash at the end!)
 // Relative to the listing of this PHP Skriptes
 $imgdir = "secret pictures";

                  
 // Additionally Domain permitted
 $allowdomain = "bsp-url.com";

 $selfdomain = strtoupper($selfdomain);
 $allowdomain = strtoupper($allowdomain);
 $ref = strtoupper($HTTP_REFERER);
 //minutes remove

 $ref = str_replace("HTTP://", "", $ref);
 // domain extract
 if (strpos($ref, "/")) $ref = substr($ref, 0, strpos($ref, "/"));
 if (($ref=="") || (strpos($ref, $allowdomain))
|| (strpos($ref, $selfdomain))) {
   $fn = $PATH_INFO;
                    
   if ((strpos($fn, "../")) || (strpos($fn, "..\\")))
   {
     echo "Access injury; "; // Servers protect

   } else readfile($imgdir.$fn); // File spend
                     
 } else {
   echo "No access";
 }
?>


The script is stored in a file with ending .php on the server. Example:
http://www.Ex-url.de/picturescript.php.

As the first they fit the Script to their Domain to " bsp url.de" in the Script must be changed (red).
The pictures are " in one; secret" Listing stored, for example " secretpictur".
This must be likewise adapted in the red emphasized code (picture listing).
The listing should " secret" remain, so that the PHP script is not gone around.
The pictures are with the example under the URL http://www.exp-url.de/secretpicture/...


They are called up now over the script. Exp.: http://www.exp-url.de.de/picturescript.php/picture.jpg
That is same it it of these URL http://www.bsp-url.de.de/secretpictur/picture.jpg would call.

Note: Are possible also over a listing structure.








©2007 Trafficklau.net

Domainbewertung - Domain www.trafficklau.net bei websitesanalysis.com
Sedo - Domains kaufen und verkaufen das Projekt trafficklau.net steht zum Verkauf Besucherstatistiken von trafficklau.net etracker® Web-Controlling statt Logfile-Analyse
Suchmaschinenoptimierung mit Ranking-Hits Diese Seite zu Mister Wong hinzufügen