Lachlan Hunt schrieb:
[color=blue]
> Werner Partner wrote:
>[color=green]
>>
http://www.wagenburg-9b66.de/test/personalia.php
>> ...
>> If you dial ...[/color]
>
>
> Who's dialing anything? I'm not using an old rotary phone or computer
> with any form of dial to access the web. Perhaps you meant "select" or
> maybe "click" (although "click" has the same problem for people who
> aren't using a mouse, as "dial" does for those not using an old rotary
> phone; but it is at least more widely understood in this context).[/color]
Oh yes: select - in german language it's the same word.
[color=blue]
>[color=green]
>> "Werner Henes" you get the wrong picture though the Sourcecode wants
>> "henesr.jpg".[/color]
>
>
> Actually, the source code of the HTML is asking for henesw.jpg and
> henesw_alt.jpg, but the server returns a 301 Moved Permanently response
> in the HTTP headers for those requests.[/color]
Does this mean that the server gives a wrong picture???
[color=blue]
>
> Is this move intended to be permanent? Will you never have real
> pictures of henesw available? If you will, you should change the
> response to a 307 Temporary Redirect so browsers will be able to get
> them when they become available, rather than automatically changing the
> request based on the previously given 301 response.[/color]
It is so that some people send there picture, some not, some later.
Normally there is no problem, because there is the ALT-Tag which shows
"[aktuelle Bild]" and "[altes Bild]".
This works with all persons (about 20 in original version), but just
_not_ with henesw and henesr.
The central question is: Why does server give me "henesr.jpg", when I
want to have "henesw.jpg", that's what I did not really understand.
[some interesting explanations]
Thanks for these explanations, it makes clearer how this machine works.
Nevertheless my central question is not understood.
I made a new PHP-solution which works:
if (file_exists) {
show picture (for instance "henesr.jpg" or "henesr_alt.jpg")
} else {
show neutral frame ("rahmen.jpg" or "rahmen_alt.jpg")
}
(Of course "alt" means "old", as you saw on the pictures.
So my original problem is solved, nevertheless stayes the question about
the reason of this strange effect.
Thanks
Werner
--
--------------------------------------------------
Werner Partner, 45699 Herten
http://www.sonoptikon.de