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
| 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%) |
1419 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| Link |
Description |
| documentation |
functions documentation |
| forum |
Share yours problems, questions, and use on the official forum for this class |
| |
Files |
|
|