Termination Function?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Little

    Termination Function?

    I could swear I remember seeing a function that would allow you to specify
    code to be executed upon termination of a PHP script, but now I can't find
    anything on it. Anyone know of anything like this?

    I know I could do it with auto_append_fil e but I don't want to run the code
    for all my scripts, and I'm running PHP as a CGI so I can't do it in
    ..htaccess

    --
    Alan Little
    Phorm PHP Form Processor

  • Jon Kraft

    #2
    Re: Termination Function?

    Alan Little <alan@n-o-s-p-a-m-phorm.com> wrote:
    [color=blue]
    > I could swear I remember seeing a function that would allow you to specify
    > code to be executed upon termination of a PHP script, but now I can't find
    > anything on it. Anyone know of anything like this?[/color]

    Hi Alan,

    Have a look here:



    HTH;
    JOn

    Comment

    • Alan Little

      #3
      Re: Termination Function?

      Carved in mystic runes upon the very living rock, the last words of Jon
      Kraft of comp.lang.php make plain:
      [color=blue]
      > Alan Little <alan@n-o-s-p-a-m-phorm.com> wrote:
      >[color=green]
      >> I could swear I remember seeing a function that would allow you to
      >> specify code to be executed upon termination of a PHP script, but now
      >> I can't find anything on it. Anyone know of anything like this?[/color]
      >
      > Have a look here:
      >
      > http://uk.php.net/manual/en/features...n-handling.php[/color]

      Ah, here's the one I was thinking of. Thanks.



      --
      Alan Little
      Phorm PHP Form Processor

      Comment

      Working...