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
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
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
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
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
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
?
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
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
[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
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
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
[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
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
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]:
[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
[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
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
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
[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
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
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
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
[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
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
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
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
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:
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
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
@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
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
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:
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
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
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
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
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
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
--- 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.
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
--- 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
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
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
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
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
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
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
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,
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
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
: 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
-
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
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
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
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
55 matches
Mail list logo