"Alvaro G. Vicario" <kAlvaroNOSPAMTHANKS@terra.es> wrote in message
news:1n2f93lvdreny$.yqiy0gnsfyfx.dlg@40tude.net...[color=blue]
> *** Ken escribió/wrote (Thu, 16 Sep 2004 19:38:47 GMT):[color=green][color=darkred]
> >>Do you generate pictures with a PHP script?[/color]
> > PHP handles the picture input and conversion (picture9 to new_file_name)[/color][/color]
to[color=blue][color=green]
> > a different name.
> > <input type=file size=65 name="picture9" Id="pt9">
> > <img src="<?php echo $_SESSION['new_file_name'];?> " border="0"[/color][/color]
width="100">[color=blue]
>
> Pictures aren't embedded in HTML documents, they're simply linked. If you
> tell the browser that current HTML file expires, that won't affected[/color]
linked[color=blue]
> files.
>[color=green]
> > My computer is set for automatic. If I set it for "every visit to page"[/color][/color]
the[color=blue][color=green]
> > picture display properly.[/color]
>
> Then the web server is configured correctly.
>[color=green]
> > Unfortunately, I cannot change the selected setting on the web page[/color][/color]
viewers.[color=blue][color=green]
> > So I am looking for a PHP command to force the page to "Check for newer
> > version of stored page for each visit".[/color]
>
> I can't understand why you need to change pictures in the middle of the
> browsing session. The simpliest solution that may work is adding a random
> parameter to each link:
>
> <img src="picture.jpg?foo=<?=$random_string?>">
>
>
> --
> -+ Álvaro G. Vicario - Burgos, Spain
> +-
http://www.demogracia.com (la web de humor barnizada para la[/color]
intemperie)[color=blue]
> ++ Las dudas informáticas recibidas por correo irán directas a la papelera
> -+ I'm not a free help desk, please don't e-mail me your questions[/color]
Thanks Alvaro,
This worked.
Great idea.
Ken