On 2012-12-31, at 4:58 PM, tamouse mailing lists <tamouse.li...@gmail.com> 
> I use the include("template") method for this alla time, it works
> great. Most especially for HTML emails coming from a web site to a
> group of users, just slick as anything. include does basically just
> what your print_greeting function does less the actual printout, but
> using php variables instead of a str_replace. Also, this way the
> templates can be stored elsewhere, outside the actual code base if
> need be.

This sounds like it might be what I'm looking for. If I'm understanding
correctly, you are saying to use the include function to "read" in my
greeting file. I think I've got the basic gist of the concept, and will see
what I can hobble together real quick. This thought had not occurred
to me.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to