RE: [PHP] Open a new window by code
| From: | Dan Harrington | Date: | Sun, 25 Aug 2002 06:50:07 +0000 |
| Subject: | RE: [PHP] Open a new window by code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114032@lists.php.net to get a copy of this message | ||
You can't with PHP exclusively as far as I know.
But you can do this:
<?
print("
<script language=\"JavaScript\">
<!--
window.open(foobar);
//-->
</script>");
and it will open a new window.
> -----Original Message-----
> From: Alva Chew [mailto:alva@stridec.com]
> Sent: Sunday, August 25, 2002 12:39 AM
> To: php-general@lists.php.net
> Subject: [PHP] Open a new window by code
>
>
> Hi,
>
> Does anyone know how can i open a new browser window by PHP code?
>
> Thanks and regards.
> Alva Chew
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php