PDA

Click to See Complete Forum and Search --> : opening new broswer window in php


dimava
Aug 28th, 2000, 08:03 PM
how do I make it so that
in about 5 seconds after the page loads, it opens a new toolbar less address bar less browser window to a url?

noone
Aug 30th, 2000, 11:01 AM
<HTML>
<HEAD>
<SCRIPT LANGUAGE=javascript>
<!--
function doShit() {
setTimeout("window.open('http://sajendra.dhs.org','somename','toolbar=no');",5000);
}


//-->
</SCRIPT>

</HEAD>
<BODY onLoad="doShit();">

<P>&nbsp;</P>

</BODY>
</HTML>


[Edited by noone on 08-30-2000 at 12:45 PM]

dimava
Aug 30th, 2000, 01:01 PM
I'm sorry I forgot, I was looking for the answer in PHP

noone
Aug 31st, 2000, 04:59 PM
PHP is a server side language. I don't think you would be able to open a new browser using it, especially after the page has loaded. Once the user gets the page, all the PHP should have been processed by the server already.

dimava
Aug 31st, 2000, 05:47 PM
someone once showed me the way how, but it was a very long time ago