[PHP] REGISTER_SHUTDOWN_FUNCTION() -- Still Not Working.

2003-06-16 Thread Jason Caldwell
REGISTER_SHUTDOWN_FUCNTION() still broke. http://bugs.php.net/bug.php?id=14542 This was suppose to be fixed for (Win32 platforms) in release 4.3.2, although I don't see it in the fix-log. I've been pushing to get this fixed for some time now (circa 2001.) If I knew C/C++, I'd hop in there and f

Re: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Jason Caldwell
's a "bug", it's more of a feature request. > > ---John Holmes... > > > -Original Message- > > From: Jason Caldwell [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 17, 2002 3:24 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] REG

RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread Mark Charette
#x27;Jason Caldwell'; [EMAIL PROTECTED] Subject: RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix. I'm not sure if that's a "bug", it's more of a feature request. ---John Holmes... > -Original Message- > From: Jason Caldwell [mailto:[EMAIL PROTEC

RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread John Holmes
I'm not sure if that's a "bug", it's more of a feature request. ---John Holmes... > -Original Message- > From: Jason Caldwell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 3:24 AM > To: [EMAIL PROTECTED] > Subject: [PHP] REGIST

[PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-16 Thread Jason Caldwell
I'm posting this here to give this BUG attention. It's a pretty serious one for Win32 users, and it would be great if it could be fixed *very quickly* -- I posted this in the Bug Reports on PHP.net on May 27th, 2002. Here's the link: http://bugs.php.net/bug.php?id=17461 I need to use this funct

[PHP] Register_Shutdown_Function ??

2002-05-18 Thread Jason Caldwell
I'm playing with the register_shutdown_function -- it's seems to work fine if I call exit() within my script -- however, it doesn't seem to work when the script times-out. Anyone know why? It's supposed to work in the event of an error, time-out, user-abort, or script-exit. Thanks Jason --

Re: [PHP] register_shutdown_function

2002-04-15 Thread Erik Price
On Sunday, April 14, 2002, at 07:23 PM, Hayden Kirk wrote: > im trying to make a distructor for a mysql class to kill the connection > when > the object is destroyed using register_shutdown_function("~xmysql"); > if i > put that in my class will it do that or am i getting confused. ~xmysql >

[PHP] register_shutdown_function

2002-04-14 Thread Hayden Kirk
im trying to make a distructor for a mysql class to kill the connection when the object is destroyed using register_shutdown_function("~xmysql"); if i put that in my class will it do that or am i getting confused. ~xmysql is a destructor function i made. Heres the code, will it work how i want it

Re: [PHP] register_shutdown_function

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, Jason Goodman wrote: > 2 questions about register_shutdown_function. > > 1)Functions registered with register_shutdown_function are called after > the script finishes processing. Is there a way to have a function only > called when the PHP form is actually closed? > > 2)The

[PHP] register_shutdown_function

2002-03-26 Thread Jason Goodman
2 questions about register_shutdown_function. 1)Functions registered with register_shutdown_function are called after the script finishes processing. Is there a way to have a function only called when the PHP form is actually closed? 2)The function registered with register_shutdown_function d

[PHP] register_shutdown_function

2002-02-25 Thread Stefan
hi, when i use register_shutdown_function in an included or required script, will the function be called after the processing of the included / required script, or after all scripts? i think they are called last, but i'm not sure ... does anyone know? + stefan -- PHP General Mailing List (

Re: [PHP] register_shutdown_function vs require (with pseudocode example)

2002-02-20 Thread Arpad Tamas
Hi, No one has any idea on this topic? Or the question wasn't clear? Thanks, Arpi > Hi again, > I read my email back and found a little hard to understand :)), so > I thought a code exmplae might help. > It's just pseudo code for explaining how my cache works: > > //simplified "main" code

Re: [PHP] register_shutdown_function vs require (with pseudocode example)

2002-02-19 Thread Tamas Arpad
Hi again, I read my email back and found a little hard to understand :)), so I thought a code exmplae might help. It's just pseudo code for explaining how my cache works: //simplified "main" code if page is in cache { deliver the old one register_shutdown_function("regenerate")

[PHP] register_shutdown_function vs require

2002-02-19 Thread Arpad Tamas
Hi, I'm trying to make some kind of caching system that first delivers the old page, and then regenerate the new one "in the background". I achieved this with register_shutdown_function(). The registered function starts the real work, the normal php script just delivers the old page (of course

[PHP] register_shutdown_function and a MySQL query keeping connection with browser.

2001-08-08 Thread Jeff Bearer
I've been working with register_shutdown_function() to have the browser kick of a long running script and move on to other tasks. I was having problems where the browser would sit and spin untill the function was done running, then would display the page. I tinkered with flush and fflush (i'm w

Re: [PHP] register_shutdown_function - uses for

2001-04-10 Thread Yasuo Ohgaki
For another example use of shutdown function. Take a look at how PEAR destructor is implemented. It's using shutdown function. Regards, -- Yasuo Ohgaki ""Greig, Euan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I was hoping that I could use this function

Re: [PHP] register_shutdown_function - uses for

2001-04-10 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Greig, Euan") wrote: > I was hoping that I could use this function to enable me to finish scripts > tidily when they time out or are aborted by the user. eg display the message > "script timed out". However this will not work as no output is

Re: [PHP] register_shutdown_function - uses for

2001-04-10 Thread Steve Werby
"Greig, Euan" <[EMAIL PROTECTED]> wrote: > I was hoping that I could use this function to enable me to finish scripts tidily > when they time out or are aborted by the user. eg display the message "script > timed out". However this will not work as no output is allowed in the shutdown > function.

Re: [PHP] register_shutdown_function - uses for

2001-04-10 Thread elias
Hmm so you can't print?! can you redirect? Header("Location: mymessage.html"); -elias http://www.kameelah.org/eassoft ""Greig, Euan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I was hoping that I could use this function to enable me to finish scripts ti

[PHP] register_shutdown_function - uses for

2001-04-10 Thread Greig, Euan
I was hoping that I could use this function to enable me to finish scripts tidily when they time out or are aborted by the user. eg display the message "script timed out". However this will not work as no output is allowed in the shutdown function. I can see other ways to do what I want (but su

Re: [PHP] register_shutdown_function() not working ?

2001-01-27 Thread Andrew Sitnikov
Hello Andrew, Sorry, but i forget what I have Zend Debuger :) Problem in file path, when i use absolute path /home/user/tmp/tmp/text.txt all works. It appears, that in shutdown_function getcwd () == '/', but in script getcwd () == '/home/user/public_html/' Only not clearly why. AS> Hello php

[PHP] register_shutdown_function() not working ?

2001-01-27 Thread Andrew Sitnikov
Hello php-general, Why this not working (php.4.0.4pl1_Linux)? file have only "Funct1" ? Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]