By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,642 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,642 IT Pros & Developers. It's quick & easy.

Termination Function?

P: n/a
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_file 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
http://www.phorm.com/
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
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?


Hi Alan,

Have a look here:

http://uk.php.net/manual/en/features...n-handling.php

HTH;
JOn

Jul 17 '05 #2

P: n/a
Carved in mystic runes upon the very living rock, the last words of Jon
Kraft of comp.lang.php make plain:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote:
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?


Have a look here:

http://uk.php.net/manual/en/features...n-handling.php


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

http://uk.php.net/manual/en/function...n-function.php

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.