[PHP] Re: Custom Open Tags

2004-12-02 Thread Sven Schwyn
Hi all Thanks for your hints. I need this feature for an easy to use minimalistic CMS solution, so tweaking the PHP source is not that much of an option. But evals do the trick of course. I ruled that out at first because I thought it'll cause a lot of clumsy code. Yet there's quite an elegant

Re: [PHP] Custom Open Tags

2004-12-01 Thread Sven Schwyn
Hi Trevor I'm not sure, but that may allow you to use AND <% %> tags at the same time. Thought about that, it would actually be very elegant – if it was the other way round. ASP tags would be great instead of a custom tag, however, that won't do the trick as the execution of the tags can't be

[PHP] Custom Open Tags

2004-12-01 Thread Sven Schwyn
Hi folks Does anybody know whether there's a way to tell PHP to accept an alternative open tag like for instance I'm looking for a way to have two kinds of PHP code in a page. The first kind tagged contains the PHP code to manage page elements (like includes, menus etc) while the second kind