[PHP] custom tags

2004-07-06 Thread George Lantz
I am looking for a way to parse custom html tags. I would like to then replace those tags with php/html code. Here is an example of the html file to be parsed. Notice the "component", they are the custom tags I wish to replace with code. I only need help in parsing the tags and storing in a variabl

[PHP] regular expression

2004-07-02 Thread George Lantz
Could someone help me with a regular expression? I am not very good at them. I want to find the following pattern inside a file: [%string%] Then extract the string portion to store in array. I would next like to replace those patterns with html code. That's right you guessed it a template eng

[PHP] Server Push

2004-05-27 Thread George Lantz
I am just looking for some different techniques on how server push is done on PHP: I am fascinated by the PHP Live! Support Solution (http://www.phplivesupport.com). I would like to try to replicate this functionality just to see how it works and maybe use it on my own website. Does anyone know h

[PHP] Template Engine

2004-05-14 Thread George Lantz
I was just wondering if anyone had any good advice or tutorials on building a simple template engine system. I am woking on a small project that I would like to distribute, and I would of course like to separate logic from html. I really just want to know the basics without caching. I am familiar w