Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Richard Heyes' Blog:
mail() replacement
Dec 10, 2007 @ 13:57:00

Richard Heyes has posted about a mail() replacement he's come up with that adds the additional functionality of backing up all of the data to a certain directory of your choosing.

A simple drop in replacement function for PHPs mail() function called mailb() which backs up all the data to a specified directory. [...] I've also added a simple header file to Apache and the download directory so it looks nicer.

You can download a copy of his library here as a .phps file (a quick and easy 40ish line script).

tagged: mail email replace mailb backup data directory mail email replace mailb backup data directory

Link:


Trending Topics: