[PHP] Re: PHP pop-up windows

2009-02-06 Thread Clancy
On Thu, 05 Feb 2009 01:47:28 +, nrix...@gmail.com (Nathan Rixham) wrote: Clancy wrote: I'm working on a website editor, primarily for my own use. Normally it will be used on my own computer, and much of what I wish to achieve could arguably be better done in either C or JavaScript, but

[PHP] Re: PHP pop-up windows

2009-02-04 Thread Nathan Rixham
Clancy wrote: I'm working on a website editor, primarily for my own use. Normally it will be used on my own computer, and much of what I wish to achieve could arguably be better done in either C or JavaScript, but both of these have a similar programming syntax to PHP, but with subtle

Re: [PHP] Pop up window in PHP code

2007-02-04 Thread Richard Lynch
PHP neither supports nor fails to support JS. PHP just spits out something for the browser. Use View Source in the browser and see what you've done. Fix the PHP until you get what you want in the View Source to make the JS work. On Sat, February 3, 2007 2:44 pm, Chris Carter wrote: I am

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread Paul Novitski
At 2/3/2007 12:44 PM, Chris Carter wrote: I am trying to open a Java script pop up widow from within the php code. Not able to get it done, the error I think is in the use of '' .. I mean double and/or single quote. Do not know how to place those. Please advice. The code is below: echo tr

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread wwww
Try this: script function poptastic(url) { newwindow=window.open(url,'name','height=490,width=900,left=150,top=175'); if (window.focus) {newwindow.focus()} } /script ? $URL=index.php; print a href=\javascript:poptastic('.$URL.')\click here/a; ? Ed I am trying to open a Java

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread wwww
Sorry, if already posted, just did not get any confirmation, wanted to make sure the e-mail has been sent. Try this: script function poptastic(url) { newwindow=window.open(url,'name','height=490,width=900,left=150,top=175'); if (window.focus) {newwindow.focus()} } /script ?

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread Myron Turner
Chris Carter wrote: I am trying to open a Java script pop up widow from within the php code. Not able to get it done, the error I think is in the use of '' .. I mean double and/or single quote. Do not know how to place those. Please advice. The code is below: echo tr td$shopname /td

RE: [PHP] pop up save dialog box

2006-08-04 Thread Richard Lynch
On Wed, July 26, 2006 7:00 am, Jay Blanchard wrote: [snip] I have code below which save MYSQL to csv file. I am using ADODB library to do this. The saving MYSQL to csv file is ok . However i need to allow the the user to enter file name for csv file. Anybody have any ideas how to

RE: [PHP] pop up save dialog box

2006-07-26 Thread Jay Blanchard
[snip] I have code below which save MYSQL to csv file. I am using ADODB library to do this. The saving MYSQL to csv file is ok . However i need to allow the the user to enter file name for csv file. Anybody have any ideas how to do this? Thanks [/snip] If you want a true pop-up you

Re: [PHP] pop up save dialog box

2006-07-26 Thread Andrei
This is only an example and threat it as example. Take care about security too. So don't copy and paste :) You could do like this: weetat wrote: Hi all, I have code below which save MYSQL to csv file. I am using ADODB library to do this. The saving MYSQL to csv file is ok . However

RE: [PHP] pop-up window in php???

2006-05-30 Thread Jef Sullivan
PROTECTED] Sent: Monday, May 29, 2006 12:59 PM To: [EMAIL PROTECTED] Cc: [php] PHP General List Subject: Re: [PHP] pop-up window in php??? [EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would

RE: [PHP] pop-up window in php???

2006-05-30 Thread Jay Blanchard
[snip] Toolbars? No, I'm not that clever. I was only referring to disabling links and form fields within the HTML page itself. The best I could do using this technique wouldn't exactly mimic a modal dialog, just approximate one. [/snip] Incredibly enough I just found this particular way of

Re: [PHP] pop-up window in php???

2006-05-29 Thread Andrei
Not related to PHP, but u hava javascript confirm function or prompt (if you need input also). Andy [EMAIL PROTECTED] wrote: Hi all, Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best

Re: [PHP] pop-up window in php???

2006-05-29 Thread siavash1979
ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. thanks, Siavash Quoting Andrei [EMAIL PROTECTED]:

Re: [PHP] pop-up window in php???

2006-05-29 Thread Adam Zey
[EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. thanks, Siavash Quoting

Re: [PHP] pop-up window in php???

2006-05-29 Thread Lester Caine
[EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. All that PHP can do is

Re: [PHP] pop-up window in php???

2006-05-29 Thread siavash1979
Quoting Lester Caine [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way

Re: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 11:03 AM 5/29/2006, [EMAIL PROTECTED] wrote: Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best way to implement it in php. I want the page to do nothing if no is pressed. With all due respect

RE: [PHP] pop-up window in php???

2006-05-29 Thread Jay Blanchard
[snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES NO. Submitting YES will request the same page from PHP but without the dialog div and with user interface fields enabled; NO

RE: [PHP] pop-up window in php???

2006-05-29 Thread tedd
At 6:38 PM -0500 5/29/06, Jay Blanchard wrote: [snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES NO. Submitting YES will request the same page from PHP but without the dialog div

RE: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 04:38 PM 5/29/2006, Jay Blanchard wrote: [snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES NO. Submitting YES will request the same page from PHP but without the dialog div and

RE: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 05:04 PM 5/29/2006, tedd wrote: This really isn't any different than a page calling itself, or another page, where the result looks like a pop-up dialog box. That's right. Add the dialog form to the markup and position it absolutely to appear centered a bit down from the top of the

RE: [PHP] pop-up window in php???

2006-05-29 Thread Jay Blanchard
[snip] I'm not aware that PHP can ask a browser to open a second window without using JavaScript. What I'm suggesting would LOOK like a second window appearing on top of the primary window, then going away, when it would actually be a single page cleverly styled. [/snip] PHP could not open a

Re: [PHP] pop-up window in php???

2006-05-29 Thread Richard Lynch
On Mon, May 29, 2006 1:03 pm, [EMAIL PROTECTED] wrote: Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best way to implement it in php. I want the page to do nothing if no is pressed. The only way

RE: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 06:25 PM 5/29/2006, Jay Blanchard wrote: [snip] I'm not aware that PHP can ask a browser to open a second window without using JavaScript. What I'm suggesting would LOOK like a second window appearing on top of the primary window, then going away, when it would actually be a single page

Re: [PHP] Pop-up message

2005-03-09 Thread Jochem Maas
Lester Caine wrote: At the risk of being shouted at because *I* know it's not a PHP problem! I have a page that is being refreshed every 30 seconds or so, and displays a list of 'tickets' waiting to be dealt with on a list from a database query. No problems there, but a couple of sites now want

RE: [PHP] Pop-up message

2005-03-09 Thread pmpa
I believe one could also embed a small flash object and call the window open from flash. I'm just not sure if IE popup blocker will also block that window. Pedro. -Mensagem original- De: Jochem Maas [mailto:[EMAIL PROTECTED] I don't know about 'CURRENT' but you have atleast 3 options:

Re: [PHP] Pop-up message

2005-03-07 Thread f00l
not knowing much about php myself but you could ask phpBB about their private msgs. i cant recall whther it is a mod that pops the window up on receiving a msg or whether the user is online (probably configurable). But as far as direction, that is where i would be heading :) Greg Richard

Re: [PHP] Pop-up message

2005-03-01 Thread Lester Caine
Richard Lynch wrote: Lester Caine wrote: At the risk of being shouted at because *I* know it's not a PHP problem! Actually, it's a client problem :-) Yep - but with so many different ways of doing it, which client method would be best ;) I have a page that is being refreshed every 30 seconds or

Re: Re: [PHP] Pop-up message

2005-03-01 Thread hitek
@lists.php.net Subject: Re: [PHP] Pop-up message Richard Lynch wrote: Lester Caine wrote: At the risk of being shouted at because *I* know it's not a PHP problem! Actually, it's a client problem :-) Yep - but with so many different ways of doing it, which client method would be best ;) I

Re: [PHP] Pop-up message

2005-02-28 Thread Richard Lynch
Lester Caine wrote: At the risk of being shouted at because *I* know it's not a PHP problem! Actually, it's a client problem :-) I have a page that is being refreshed every 30 seconds or so, and displays a list of 'tickets' waiting to be dealt with on a list from a database query. No

Re: [PHP] pop-up windows with a include

2004-03-03 Thread apur kurub ver.1
this case using javascript with the function window.open() e.g the file index.php will popup teste.php while the index.php load inde.php .. body onload=window.open('teste.php') . rgds http://amadarum.e-tics.net/blogger - Original Message - From: Andre [EMAIL PROTECTED] To:

RE: [PHP] pop-up windows with a include

2004-03-02 Thread Chris W. Parker
Andre mailto:[EMAIL PROTECTED] on Tuesday, March 02, 2004 3:23 PM said: Hello hi. I need to open one pop-up windows with a include For example... ?PHP include(teste.php); ? I need de window teste.php show in po-up . php is a server side technology. what you are looking

Re: [PHP] pop-up problem

2003-03-13 Thread -{ Rene Brehmer }-
On Tue, 11 Mar 2003 21:37:37 +0100, Ernest E Vogelsinger wrote about Re: [PHP] pop-up problem what the universal translator turned into this: At 21:02 11.03.2003, -{ Rene Brehmer }- said: [snip] On Mon, 20 Jan 2003 21:48:22 +, Sean Burlington wrote

Re: [PHP] pop-up problem

2003-03-13 Thread Ernest E Vogelsinger
At 15:52 13.03.2003, -{ Rene Brehmer }- said: [snip] My IE doesn't care about that ... it kicks both into action ... which is bothersome as I normally used '#' in the href when onclick was used to open windows... so everytime you clicked the link, it'd

Re: [PHP] pop-up problem

2003-03-11 Thread -{ Rene Brehmer }-
On Mon, 20 Jan 2003 21:48:22 +, Sean Burlington wrote about Re: [PHP] pop-up problem what the universal translator turned into this: I would do a href=foo.php target=Foo onclick=window.open('foo.php', 'Foo', 'height=480,width=640,status=yes,scrolling=no,scrollbars=no');return false;Click

Re: [PHP] pop-up problem

2003-03-11 Thread Ernest E Vogelsinger
At 21:02 11.03.2003, -{ Rene Brehmer }- said: [snip] On Mon, 20 Jan 2003 21:48:22 +, Sean Burlington wrote about Re: [PHP] pop-up problem what the universal translator turned into this: I would do a href=foo.php target=Foo onclick=window.open('foo.php

Re: [PHP] pop-up problem

2003-01-22 Thread -[ Rene Brehmer ]-
Hi Mark McCulligh, Other than the fact that popups are a work of the devil, there's no way PHP can help you there. Except that you can use regular HTML to popup a new window, albeit with all the dressing: a href=target.php?loc=popup target=_newWill popup a new window/a Rene On Mon, 20 Jan

Re: [PHP] pop-up problem

2003-01-20 Thread Chris Shiflett
--- Mark McCulligh [EMAIL PROTECTED] wrote: I was wondering if anyone knows of a way to create a pop-up using PHP or other language to do the same thing as JavaScript window.open method. I have an app that uses the JavaScript popup but now with those popup stopper it will not always work.

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. Mark. --- Mark McCulligh [EMAIL PROTECTED] wrote: I was wondering if

Re: [PHP] pop-up problem

2003-01-20 Thread Chris Shiflett
--- Mark McCulligh [EMAIL PROTECTED] wrote: I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. I know exactly what you

Re: [PHP] pop-up problem

2003-01-20 Thread John Nichel
Right, Mozilla set it up to block pop-ups that were not requested by the end user. I don't know why Netscape 7 didn't include this with their build. Chris Shiflett wrote: --- Mark McCulligh [EMAIL PROTECTED] wrote: I wish people won't miss use features for people start blocking them. I am

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
What does IE do? John Nichel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Right, Mozilla set it up to block pop-ups that were not requested by the end user. I don't know why Netscape 7 didn't include this with their build. Chris Shiflett wrote: --- Mark

Re: [PHP] pop-up problem

2003-01-20 Thread Step Schwarz
on 1/20/03 4:47 PM, Mark McCulligh at [EMAIL PROTECTED] wrote: What does IE do? Hi Mark, IE, as far as I know, doesn't have any built-in pop-up killer. Pop-up killers generally only block pop-ups that either weren't requested by the visitor -- that is, no link was clicked -- or that reside on

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
McCulligh [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 20, 2003 7:07 PM Subject: Re: [PHP] pop-up problem on 1/20/03 4:47 PM, Mark McCulligh at [EMAIL PROTECTED] wrote: What does IE do? Hi Mark, IE, as far as I know, doesn't have any built-in pop-up killer. Pop-up killers

Re: [PHP] pop-up problem

2003-01-20 Thread Jim Lucas
then one copy of netscape or mozilla at a time. Jim - Original Message - From: Step Schwarz [EMAIL PROTECTED] To: Mark McCulligh [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 20, 2003 4:07 PM Subject: Re: [PHP] pop-up problem on 1/20/03 4:47 PM, Mark McCulligh at [EMAIL PROTECTED

Re: [PHP] pop-up problem

2003-01-20 Thread Sean Burlington
Chris Shiflett wrote: --- Mark McCulligh [EMAIL PROTECTED] wrote: I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. I

Re: [PHP] pop-up

2002-08-18 Thread Justin French
You need to modify topWindow() so that you can pass a query string to it, which you can then use to add to the URL of the pop-up window. SCRIPT !-- function userpop(user_id) { var prefix = show_user.php?userid=; var script = eval(prefix + user_id); window.open(script, view_user,

Re: [PHP] pop-up windows

2002-07-02 Thread Richard Lynch
In the old days, Rasmus would answer with something like: http://php.net/FAQ.php#4.17 That was back when the whole FAQ could fit in the head of a single person... :-) [Well, a single person as smart as Rasmus, anyway... :-)] This meta-thread about what to do about posters who obviously didn't

Re: [PHP] pop-up windows

2002-06-30 Thread Justin French
on 29/06/02 2:53 AM, Kevin Stone ([EMAIL PROTECTED]) wrote: John I hate to critisize you since you are one of the most active members on this list. But are these types of comments really useful? -Kevin No, I'm with John on this one. I'd say I type no, JavaScript is client-side, and PHP is

RE: [PHP] pop-up windows

2002-06-30 Thread Bruce Karstedt
: Justin French [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 30, 2002 2:45 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] pop-up windows Importance: Low on 29/06/02 2:53 AM, Kevin Stone ([EMAIL PROTECTED]) wrote: John I hate to critisize you since you are one of the most active members

RE: [PHP] pop-up windows

2002-06-30 Thread SP
- From: Bruce Karstedt [mailto:[EMAIL PROTECTED]] Sent: June 30, 2002 11:27 AM To: 'Justin French'; 'Kevin Stone'; [EMAIL PROTECTED] Subject: RE: [PHP] pop-up windows Here ! Here ! Everyone's time is valuable, and therefore the more we all respect each other's time and opinions, the more valuable

Re: [PHP] Pop Up Window

2001-04-08 Thread Lindsay Adams
Weird. My netscape 4.7x does not do this under the same circumstances. (tried 4.7 4.75, 4.76, 4.77) On 4/8/01 1:33 PM, "Claudia" [EMAIL PROTECTED] wrote: Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which

Re: [PHP] Pop-up warning dialog box

2001-02-18 Thread Chris Adams
On 18 Feb 2001 20:54:16 -0800, Edith Lai [EMAIL PROTECTED] wrote: If i want to validate a form and check for empty input which then will produce a pop up warning dialog box, what should i do? Read up on your JavaScript. And consider whether this is really a good idea - many people find it

Re: [PHP] Pop-up warning dialog box

2001-02-18 Thread David Robley
On Mon, 19 Feb 2001 15:25, Edith Lai wrote: If i want to validate a form and check for empty input which then will produce a pop up warning dialog box, what should i do? thanks If you want to do that client side, you'll need to write a little javascript routine which checks the input and