By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

open 2 windows in the same script ?

P: n/a
hello

is it possible to open 2 windows (a normal windows + a popup) in the same
php script without using javascript ?

thnak's for help

titou44 (no spam ) @freesurf.fr
Jul 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
<?php
echo <<<BLOCK
<a href="normalwindow.html" onClick="window.open(...)">Link</a>
BLOCK;
?>

:-D

- JP

"titou44" <titou44(marreduspam)@freesurf.fr> wrote in message
news:40*********************@news.free.fr...
hello

is it possible to open 2 windows (a normal windows + a popup) in the same
php script without using javascript ?

thnak's for help

titou44 (no spam ) @freesurf.fr

Jul 17 '05 #2

P: n/a
*** titou44 wrote/escribió (Wed, 16 Jun 2004 17:17:46 +0200):
is it possible to open 2 windows (a normal windows + a popup) in the same
php script without using javascript ?


<a href="<?=$_SERVER['PHP_SELF']?>" target="_blank">Please click here</a>

--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #3

P: n/a
hello

thank's.

in your solution, the user have to click.
i am looking for a popup (opening at the start of the first windows)

titou44( no_spam)@freesurf.fr
"Alvaro G Vicario" <al******************@telecomputeronline.com> a écrit
dans le message de news: 1w****************************@40tude.net...
*** titou44 wrote/escribió (Wed, 16 Jun 2004 17:17:46 +0200):
is it possible to open 2 windows (a normal windows + a popup) in the same php script without using javascript ?


<a href="<?=$_SERVER['PHP_SELF']?>" target="_blank">Please click here</a>

--
--
-- Álvaro G. Vicario - Burgos, Spain
--

Jul 17 '05 #4

P: n/a
hello

thank's.

in your solution, the user have to click.
i am looking for a popup (opening at the start of the first windows)

titou44( no_spam)@freesurf.fr

"kingofkolt" <je**********@comcast.net> a écrit dans le message de news:
7UZzc.114616$Ly.8745@attbi_s01...
<?php
echo <<<BLOCK
<a href="normalwindow.html" onClick="window.open(...)">Link</a>
BLOCK;
?>

:-D

- JP

"titou44" <titou44(marreduspam)@freesurf.fr> wrote in message
news:40*********************@news.free.fr...
hello

is it possible to open 2 windows (a normal windows + a popup) in the same php script without using javascript ?

thnak's for help

titou44 (no spam ) @freesurf.fr


Jul 17 '05 #5

P: n/a
*** titou44 wrote/escribió (Wed, 16 Jun 2004 18:35:18 +0200):
in your solution, the user have to click.
i am looking for a popup (opening at the start of the first windows)


You need JavaScript then. Period.
--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #6

P: n/a
"titou44" <titou44(marreduspam)@freesurf.fr> schrieb:
in your solution, the user have to click.
i am looking for a popup (opening at the start of the first windows)


PHP runs on the server and so it can't open any windows on the client.

Regards,
Matthias
Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.