Re: This, then that.

From: Date: Fri, 19 Oct 2007 16:07:08 +0000
Subject: Re: This, then that.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263386@lists.php.net to get a copy of this message
At 8:19 PM -0400 10/18/07, TG wrote:
Describe the process a little more.
Ok, here's what I want to do. 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 the image permissions to 0640. That way no one can get to the image. 2. Then my application (part 1) will show the images to whomever is approved by changing the permission and then loading the image. Of course, the image can be taken at that point, but only by the person who was approved. 3. After the application (part 1) runs, I want another application (part 2) to come along and change the permissions of the image back to 0640. Now, I have no problems with anything other than getting part 2 to run after part 1 runs. So, that's the problem. As to any server questions, I would like the answer to be generic or a way to determine which server type it is and make adjustments accordingly. Cheers tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#263386) next »