473,320 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

open 2 windows in the same script ?

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
6 1839
<?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
*** 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
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
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
*** 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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Raptor | last post by:
I'm a complete Javascript n00b, using a snippet I found on the web. I'll probably be buying a Javascript book. What's the authoritative on-line resource for Javascript, like php.net is for PHP? ...
3
by: NeverLift | last post by:
But, if it's not open, I don't want to open it . . . using window.open will open it if it doesn't exist, even if the url in that open is null (the window is then empty -- but it's open). The...
4
by: ken quirici | last post by:
Hi, I'm a beginner working thru the javascript tutorial at htmlgoodies.com. The following works on netscape 7.1 and IE: *************************************************** <!DOCTYPE HTML...
26
by: Howard Brazee | last post by:
I would like to click on a URL of a html document that will open several URLs at once for me. Does someone have an example of a html document that will do this?
29
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the...
18
by: Roger Withnell | last post by:
I open a new window from the current window to display maps. Several maps of different sizes can be displayed. The function is given the size of the map and adjusts the window size accordingly....
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
2
by: Buddha Pest | last post by:
The 1st window opens the 2nd window. The 2nd window opens the 3rd window. From the 3rd window, how do I close the 3rd and 2nd windows then change the URL of the 1st window? Thanks.
7
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed...
2
by: LayneMitch via WebmasterKB.com | last post by:
Hello. I posted this earlier with the full code of the JavaScript file I'm trying to open. I'm posting this again, because the file is not the problem. I seem to be having a 'windows' problem...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.