Image

Imagegamesociety wrote in Imagephp

PHP and .htaccess

I know .htaccess can be used to protect contents of a directory from being publically viewed (images for instance). But how or can php be used to give a user temporary access to a single file to view through a script? I searched for .htaccess on php.net but couldn't find any decent info on the subject.

Anyone ever dealt with this before?