Archive for February 2008
Redirect web browser to other page
Wondering about how to redirect visitors to some other page? It is really simple with this piece of code.
Put the following line in your HTML file’s head section.
<META HTTP-EQUIV="refresh" CONTENT="5; URL=url-to-redirect-to.html">
Please mind that this line is to be placed between <head> and </head> tags for it to work. The number 5 in the above line is the time in seconds the browser waits before loading the redirected page. You can set it to 0 (zero) if you want browser to load the contents of next page immediately.
If you are working with PHP and looking for a way to redirect your browser, you can do this by placing a simple header() function call as follows:
header("Location: redirection-address.htm");
This wouldn’t work if you have already outputted some text using print() or echo calls. This is the because of restriction of HTTP protocol and not of PHP. So place it early enough in a page where no previous output was generated using print and/or echo function calls.
Hope it will help.
Did you mean this, this or that?
The Pol-Ang (http://slownik.freehostia.com) Polish English Dictionary is getting better. There is now added support for ‘Did you mean?’ feature. As per site, there is no need to worry about the correct spellings. Just type the word and it will display words closely matching the search word. Best wishes!