You are here: php version of java : self.location.replace("www.url.com"); ?? « PHP Language « IT news, forums, messages
php version of java : self.location.replace("www.url.com"); ??

Posted by Peter Van Hove on 06/02/05 21:36

Hi,

inside html, before <head>, you can put something like this :

<script type="text/javascript">
self.location.replace(www.url.com/newpage.htm);
</script>

which basically instructs the browser to start loading another page asap
(www.url.com/newpage.htm);
This has some limitations, especially when the user has restricted use of
java etc.

Is there a way to do this in PHP ?
like, if there is a link to link.php, this page then starts loading
www.url.com/newpage.htm instead ?

 

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

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