[PHP] Open a new window by code

2002-08-25 Thread Alva Chew

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




RE: [PHP] Open a new window by code

2002-08-25 Thread Dan Harrington

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:[EMAIL PROTECTED]]
 Sent: Sunday, August 25, 2002 12:39 AM
 To: [EMAIL PROTECTED]
 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Open a new window by code

2002-08-25 Thread Justin French

*sigh*

This gets asked EVERY DAY on the list.

1. search the archives before posting

2. PHP is server-side, so there's no way it can interact with the
client-side... try javascript


Justin French


on 25/08/02 4:38 PM, Alva Chew ([EMAIL PROTECTED]) wrote:

 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




[PHP] open a New Window

2002-01-14 Thread Simos Varelakis

Hi to everybody

I wonder if is posiblle to open a new predefined size window  (new html
page) with php code.


Thanks in advance for your time.

Best Regards

Simos



Re: [PHP] open a New Window

2002-01-14 Thread Henning Sprang

Simos Varelakis wrote:

 Hi to everybody
 
 I wonder if is posiblle to open a new predefined size window  (new html
 page) with php code.


This won't work with PHP, only with JavaScript Code which may be 
dynamically outputted by php, which means, you could open windows with a 
piece of javaScript, but you could save the size each individual user 
wants in a database and output the size part from there.

the Javascript Code that would open a new window would be something like:

window.open(datei.htm,Fenster1,width=310,height=400,left=0,top=0);

sorry, don't know a good JavaScript Reference in English or greek by 
now, you have to look for your own

Henning



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] open a New Window

2002-01-14 Thread Rambo Amadeus

no, its not possible. Try javascript


- Original Message -
From: Simos Varelakis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 14. sijeanj 2002 14:08
Subject: [PHP] open a New Window


 Hi to everybody

 I wonder if is posiblle to open a new predefined size window  (new html
 page) with php code.


 Thanks in advance for your time.

 Best Regards

 Simos



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]