Well, really you can't do that. A PHP request only takes interrupt input when
it starts, from the GET, POST, COOKIE, and SESSION magic variables. It
doesn't run as a daemon. A fresh Ajax call to the script starts a new
instance of the script. Fortunately, PHP's engine is fast enough that the
Hi All,
Thanks a lot for your numerous answers.
I've learned a lot from all your suggestions.
Actually, combining all your answers, I'll come up with a solution.
To be more explicit on what I want to do, I want in fact to start a
script, I want that script to
display a page, and then, I want tha
On 11/1/06, David Négrier <[EMAIL PROTECTED]> wrote:
Hello there,
I'm having a somewhat unusual question here, and I cannot find any way
to solve it.
I have a PHP page that displays a message, and then, performs a very
long operation. Note that it displays the message first.
I do not intend to
I think the Ajax solution that John suggests is the ticket.
I did something like this for a site that books reservations for various
services. But before the booking can occur, the customer has to get info
on the various service options, which are returned from a separate
database server. Thi
w set behind
the first with javascript. When your script is finished, have it
output javascript that closes the "processing" window.
On Nov 2, 2006, at 12:37 PM, [EMAIL PROTECTED] wrote:
Original Message ----
Subject: [PHP] Closing a connection to browser without exiting
ow.
On Nov 2, 2006, at 12:37 PM, [EMAIL PROTECTED] wrote:
Original Message ----
Subject: [PHP] Closing a connection to browser without exiting the
script
From: David Négrier <[EMAIL PROTECTED]>
Date: Wed, November 01, 2006 2:24 pm
To: php-general@lists.php.net
Hello there,
> Original Message
> Subject: [PHP] Closing a connection to browser without exiting the
> script
> From: David Négrier <[EMAIL PROTECTED]>
> Date: Wed, November 01, 2006 2:24 pm
> To: php-general@lists.php.net
>
> Hello there,
>
> I'
On Wed, November 1, 2006 3:24 pm, David Négrier wrote:
> I'm having a somewhat unusual question here, and I cannot find any way
> to solve it.
There is no way to do precisely what you are describing.
The best thing to do, imho, is to have the PHP script queue up
something in a datbase, text file,
dejavu!
This thread was just on the mailing list recently... check the
mailing list archives.
-Ed
On Nov 1, 2006, at 1:24 PM, David Négrier wrote:
Hello there,
I'm having a somewhat unusual question here, and I cannot find any
way to solve it.
I have a PHP page that displays a messag
Hello there,
I'm having a somewhat unusual question here, and I cannot find any way
to solve it.
I have a PHP page that displays a message, and then, performs a very
long operation. Note that it displays the message first.
I do not intend to give some feedback to the user when the operation i
10 matches
Mail list logo