php-general | 2005051
Date: 05/09/05
- Next message: dan: "Re: [PHP] mail() Problem"
- Previous message: Rory Browne: "Re: [PHP] A couple questions about templating"
- In reply to: James Williams: "[PHP] A couple questions about templating"
- Next in thread: Matthew Weier O'Phinney: "[PHP] Re: A couple questions about templating"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/9/05, James Williams <jamwil.php <email protected>> wrote:
> 1st question) I need a professionaly opinion on to which solution is
> better, considering speed, security, and expandability.
Bench them both with Apache's ab.
> 2nd question) Like I said before, I've mastered the art of variable
> replacement, but how would one go about adding support for if {}
> statements as well as loops. I'm a little bit lost when it comes to
> this.
eval() will parse your PHP code. I use that with filemtime() for my
own simple templating/caching system.
-- Greg Donald Zend Certified Engineer http://destiney.com/-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: dan: "Re: [PHP] mail() Problem"
- Previous message: Rory Browne: "Re: [PHP] A couple questions about templating"
- In reply to: James Williams: "[PHP] A couple questions about templating"
- Next in thread: Matthew Weier O'Phinney: "[PHP] Re: A couple questions about templating"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

