Results 1 to 5 of 5

Thread: opening new broswer window in php

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    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?
    NXSupport - Your one-stop source for computer help

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    Code:
    <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]
    "People who think they know everything are a great annoyance to those of us who do."

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    I'm sorry I forgot, I was looking for the answer in PHP
    NXSupport - Your one-stop source for computer help

  4. #4
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    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.
    "People who think they know everything are a great annoyance to those of us who do."

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    someone once showed me the way how, but it was a very long time ago
    NXSupport - Your one-stop source for computer help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width