RE: [PHP] This, then that.

From: Date: Fri, 19 Oct 2007 20:59:30 +0000
Subject: RE: [PHP] This, then that.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-263426@lists.php.net to get a copy of this message
On Fri, 2007-10-19 at 13:31 -0700, Instruct ICC wrote: > > I want to prohibit an image from being shown to anyone who is not > > permitted (i.e., logged in). > > > > The way I want to do this is to: > > > > 1. Set [file] permissions... > > > > What if 2 or more users access the application at the same time? > > Set the permissions so only the PHP application can access it. > Have the PHP application decide if this present user running this instance should see the > image. > If approved, display image. One idea that has always been REALLY popular around here... stuff your image in a database. *MUHAWHAWHAWHAWHAW* *Ducks from the flying rocks*. Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ...........................................................

« previous php.general (#263426) next »