Re: [PHP] Dynamic Images

2006-08-03 Thread Richard Lynch
On Wed, August 2, 2006 7:12 pm, Jochem Maas wrote: >> The best solution to this is to change your IMG tag to have a random >> number in it, so that the cached image is never the same URL, so it >> never gets used. >> >> Stupid, I know, and wasteful of the browser cache disk space, but >> there it i

Re: [PHP] Dynamic Images

2006-08-02 Thread Jochem Maas
Richard Lynch wrote: > On Wed, August 2, 2006 7:38 am, Manoj Singh wrote: > >> I am creating a a script in which a dynamic graph is generated through >> gd >> library. The format of the picture is jpeg. Now the problem is that >> the >> browser is caching the images and after updating also it is d

Re: [PHP] Dynamic Images

2006-08-02 Thread Richard Lynch
On Wed, August 2, 2006 7:38 am, Manoj Singh wrote: > I am creating a a script in which a dynamic graph is generated through > gd > library. The format of the picture is jpeg. Now the problem is that > the > browser is caching the images and after updating also it is displaying > the > older image.

Re: [PHP] Dynamic Images

2006-08-02 Thread tedd
At 6:08 PM +0530 8/2/06, Manoj Singh wrote: Hello all, I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying the older image. Curren

[PHP] Dynamic Images

2006-08-02 Thread Manoj Singh
Hello all, I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying the older image. Currently for clearing the cache i am using this co

Re: [PHP] Dynamic Images and File Permissions

2005-07-16 Thread Jochem Maas
Brian V Bonini wrote: On Thu, 2005-07-14 at 12:09, Adam Hubscher wrote: My questions are this: A) Is there any way to set the permissions on the file on creation of the image? Set umask 002 on the user php is running as. or set the perms correctly on the relevant dir and turn the stickyb

Re: [PHP] Dynamic Images and File Permissions

2005-07-14 Thread Brian V Bonini
On Thu, 2005-07-14 at 12:09, Adam Hubscher wrote: > My questions are this: > > A) Is there any way to set the permissions on the file on creation of > the image? Set umask 002 on the user php is running as. -- s/:-[(/]/:-)/g BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu =

Re: [PHP] Dynamic Images and File Permissions

2005-07-14 Thread Edward Vermillion
Adam Hubscher wrote: I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another problem

[PHP] Dynamic Images and File Permissions

2005-07-14 Thread Adam Hubscher
I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another problem, and I'm not sure how

[PHP] Dynamic Images and File Permissions

2005-07-13 Thread Adam Hubscher
I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another problem, and I'm not sure