Reply to Re: shutdown hook

Your name:

Reply:


Posted by Martin Mandl - m2m tech support on 03/23/07 09:49

On Mar 22, 9:11 pm, "Jean Pierre Daviau" <O...@WasEno.ugh> wrote:
> Hi to every one,
>
> Can I add a shutdown hook which gets called before your
> application is killed (which probably happens when
> the session ends or the system reboots.
>
> --
> Thanks for your attention.
>
> Jean Pierre Daviau
> --
> windows Xp
> asus p4 s533/333/133
> Intel(R) Celeron (R) CPU 2.00 GHz
> Processor Radeon7000 0x5159 agp

Dear Jean Pierre,

yes, you can add a shutdown hook - it get's called when your script
ends.
If you want it only called when your session ends, you have to adjust
your session destruction or garbage control functions ...

Both are explained in detail in the PHP manual ;)

good luck
Martin

-----------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnung
http://www.ea-geier.at
------------------------------------------------
m2m server software gmbh
http://www.m2m.at

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация