Re: [PHP] HTML in emails

2010-07-06 Thread Andre Majorel
On 2010-07-04 11:43 -0400, Al wrote: > Seems like, from my preliminary Google searching, I should not waste > time with the standard's way and just go straight to sending simple > html pages since all modern browsers handle it well. And, it appears > to be the way web is going. "Browsers" ? "The

[PHP] End of session clean-up

2011-12-03 Thread Andre Majorel
Hello all. I need to purge old records from application tables when a session expires. How do I register a callback with the end-of session-garbage collection system ? session_set_save_handler() lets me override the native garbage collection, not *add* to it, as far as I can tell. Thanks in advanc

Re: [PHP] End of session clean-up

2011-12-03 Thread Andre Majorel
On 2011-12-03 17:41 +, Stuart Dallas wrote: > On 3 Dec 2011, at 16:57, Andre Majorel wrote: > > > Hello all. I need to purge old records from application tables > > when a session expires. How do I register a callback with the > > end-of session-g

Re: [PHP] End of session clean-up

2011-12-09 Thread Andre Majorel
On 2011-12-03 18:14 +, Stuart Dallas wrote: > Writing a session handler is pretty straightforward. I wrote > about how to implement one to use MySQL a while back which I'm > sure you could easily adapt to your needs. > > http://stut.net/2008/07/20/mysql-sessions/ Thank you. That's too much c

[PHP] INSTALL_ROOT and apxs

2007-10-19 Thread Andre Majorel
I'm trying to build PHP 5.2 as an Apache 2.0 handler module. Apache and PHP are installed with DESTDIR/INSTALL_ROOT=/sandbox set because the end goal is to make a package, not to install on the build machine. The paths returned by apxs are relative to /, not to /sandbox which throws off PHP's make