Code Snippets...

How to redirect a web browser

Here is an example script, to show how a browser can be redirected to a different page with JavaScript. This is useful if you want to rename or move a page that has links to it from other locations. You can put the redirect script in the old page, to send visitors to the new one.

Just put the following code in the page you want to redirect:

<html>
<script>
location = "http://www.yoursite.com/index.php"
</script>
</html>

Javascript Barcode Javascript Barcode Generator PHP True Type Barcode Generator