You are here: Re: Using a URL as an abbreviation « HTML « IT news, forums, messages
Re: Using a URL as an abbreviation

Posted by J.O. Aho on 02/04/07 13:34

418928@cepsz.unizar.es wrote:
> Hi everybody,
>
> I have a certain document in a URL X quite difficult to remember and
> write. So I want to provide a shortcut to it (let's call this Y). My
> current solution is the following. In the html page pointed to by Y, I
> write:
>
> <META HTTP-EQUIV="Refresh"
> CONTENT="0;
> URL=X"
>
> This works well. However, I'm not sure if all the web browsers will
> understand this (I tried with Explorer and Opera) and whether this is
> the best way of achieving my purpose.

Most browsers does understand meta tag redirections, you can also use the
header() function in PHP (server side scripting language), but the the best
may be to do this at the server level, but quite few has the privilege to do
so, so your method is really a okey way to do it, as long as you include the
ending ">" (if using xhtml, "/>") to the tag.


--

//Aho

 

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

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