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
'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
#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
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
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
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
--
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
>
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
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
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
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 (
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
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")
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
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
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
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
"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.
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
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
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
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]
22 matches
Mail list logo