Re: [PHP] Newman's Problem with Images.

2003-06-08 Thread Don Read

On 05-Jun-2003 Philip J. Newman wrote:
 My problem is this:
 
 I have a site that has 3 levels of access.
 
 1,2,3  
 
 when i upload files to say $unixtimestamp/image1.jpg anyone can list the
 images in this directory $unixtimestamp/.  I would like to hide the
 images out side the doc root ... is this possable .. so i can load
 something like /image/image.php?no=1 and it loads
 $unixtimestamp/image1.jpg if the access level is right .. else it would
 load nothing  
 
 Any Ideas where to start?
 
 

http://marc.theaimsgroup.com/?l=php-general

search on Subject: 'Images out side the wwwroot'

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Newman's Problem with Images.

2003-06-05 Thread Philip J. Newman
My problem is this:

I have a site that has 3 levels of access.

1,2,3  

when i upload files to say $unixtimestamp/image1.jpg anyone can list the images in 
this directory $unixtimestamp/.  I would like to hide the images out side the doc root 
... is this possable .. so i can load something like /image/image.php?no=1 and it 
loads $unixtimestamp/image1.jpg if the access level is right .. else it would load 
nothing  

Any Ideas where to start?


/ Phil