PHP Classes
elePHPant
Icontem

File: loader.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of László Zsidi  >  Protector  >  loader.php  >  Download  
File: loader.php
Role: Example script
Content type: text/plain
Description: Example loader file
Class: Protector
Make it difficult to steal images from Web pages
Author: By
Last change:
Date: 8 years ago
Size: 1,559 bytes
 

Contents

Class file image Download
<?php
/*
:::::::::::::::::::::::::::::::::::::::::::::::::
:: ::
:: H O W T O U S E ? ::
:: ::
:: ::
:: ::
:: require('Loader.class.php'); ::
:: ::
:: $protect = new Loader( ::
:: $_SERVER['HTTP_REFERER'], ::
:: $_SERVER['QUERY_STRING'], ::
:: String password, ::
:: String watermark text, ::
:: Watermark switch true->on false->off, ::
:: String font, ::
:: Int fontsize, ::
:: Hex fontcolor, ::
:: Hex shadowcolor, ::
:: String Error action ::
:: 'jump=>protected.php' ::
:: Redirect into specified site ::
:: 'show=>protected/protected.gif' ::
:: Display a specified image ::
:: ); ::
:: ::
:::::::::::::::::::::::::::::::::::::::::::::::::
*/

require('Loader.class.php');

$protect = new Loader( $_SERVER['HTTP_REFERER'], $_SERVER['QUERY_STRING'], "protected_site", "Protected by http://gifs.hu", false, "fonts/comic.ttf", 16, "FFFFFF", "000000", "jump=>protected.php" );

?>