PHP Classes
Icontem

Class: Protect picture


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of MARY Matthieu  >  Protect picture  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Protect picture Support forum
Base name: class_protect_pictur
Description: Protect the path of yours pictures
Related top rated classes: , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 3548 users
All time rank: 551
Week users: 2 users
Week rank: 2602
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of MARY Matthieu
Name: MARY Matthieu <e-mail contact>
Published packages: 19 Browse this author's classes Browse this author's classes
Country: France, Metropolitan France, Metropolitan - PHP jobs in France, Metropolitan
Home page: http://www.phplibrairies.com/
Age: 31
All time rank: 20
Week rank: 118

Groups

Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

Detailed description

This class is meant to protect the path of your site pictures in order to prevent that somebody eventually using robot scripts steals the images by accessing the pictures directly.

The class changes the URL of the images used in HTML <input type="IMAGE"> or <IMG> tags using a new URL through which real browsers can retrieve the picture files.

The class requires php 4.0 or later with session support enabled.

To use this class put the protect_picture.php script in the same directory of the script that references thes pictures to be protected. Then, at the beginning of that, just call:

$pprotect = new protect_picture(session_id());

and at the end of your script call

$pprotect->protect();

This class supports all the session_save_handler method : file in most cases with th $_SESSION array or in the others way a cache file

Freshmeat project

Project record: class_protect_picture
Popularity score: 41.27
Vitality score: 1.78

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (64.3%)
Sufficient (60.7%)
Sufficient (65.0%)
Sufficient (71.4%)
-
-
Not sure (51.9%)
1209
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
documentation functions documentation
forum Share yours problems, questions, and use on the official forum for this class

Files

File Role Description
Plain text file CHANGELOG Doc. LOG changes
Plain text file class_cache.php Class the caches functions
Plain text file class_protect_picture.php Class class file
Plain text file class_protect_picture_example.php Example examples: change the SRC of your pictures to test
Plain text file LICENCE Lic. copy of GPL licence
Plain text file protect_picture.php Appl. script which read files
Plain text file protect_picture_cache.php Appl. this file read the picture in the case you doesn't use files in a sessions_save_handlers way
Download all files: class_protect_pictur.tar.gz class_protect_pictur.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products