RE: [PHP] Opening a new window.
| From: | Richard S. Crawford | Date: | Fri, 14 Dec 2001 23:09:17 +0000 |
| Subject: | RE: [PHP] Opening a new window. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77788@lists.php.net to get a copy of this message | ||
Do you mean having it open a window as the page is loading? Just include the javascript to open the new window in the <body> tag, using the onLoad attribute.
Of course, once the page has been loaded, you have to rely on JavaScript to do everything, because PHP only works on the server and not the browser. But, of course, you already knew that.
At 02:59 PM 12/14/2001, Brandon Orther wrote:
I wanted to know how I could have php open a window. Like can I have it print out some javascript to open a new window? Instead of someone having to click a link. Thanks BrandonSliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: underpope@hotmail.com "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"