You are here: Re: Running PHP from a remote server « PHP Programming Language « IT news, forums, messages
Re: Running PHP from a remote server

Posted by Toby Inkster on 09/03/05 17:24

Kimmo Laine wrote:

> Invalid how? Please explain, I see nothing wrong in that.
> Missing some attributes? Okay, alt is required... Anything else?

After you realised that "alt" is required, why didn't you go back and
delete the preceding line?

Yes, that is how it was invalid.

> Also, you forgot to mention that this is ignored by people who have
> images turned of.

I didn't forget. I thought about it, but decided against mentioning it as
the number of such people is rather low, compared with the number of
people with no Javascript.

> Which is altogether why I encouraged to use iframe...

If we're going to continue the "some browsers don't support that" and
"other browsers do support it but allow it to be disabled" line of
reasoning, that ain't ideal either, but it's the best of the three.

Probably the best solution would be to simply redirect to the PHP page in
question. The preferred method of doing this would be to send an
appropriate HTTP 3xx response, but given the problem at hand, I think
this would not be viable on this entirely static server.

So I'd suggest a timed (about 5 to 10 seconds) <meta> refresh; combined
with a Javascript redirect for the odd esoteric browser that doesn't
support that particular non-standard, but widely supported HTTP extension;
and finished off with a "you will be redirected in a few seconds, but if
it doesn't work, please manually follow this link to my <a
href='foo'>dynamic server</a>" message for good measure.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация