PHP Classes

File: protect_picture.php

Recommend this page to a friend!
  Classes of MARY Matthieu   Protect picture   protect_picture.php   Download  
File: protect_picture.php
Role: Application script
Content type: text/plain
Description: script which read files
Class: Protect picture
Protect the path of yours pictures
Author: By
Last change:
Date: 20 years ago
Size: 141 bytes


Class file image Download
$id = $_GET['id'];
$file = $_SESSION['class_protect_picture'][$id];
if (
file_exists($file)) readfile($file);