[PHP] Executing functions within ereg_replace() output

2002-04-06 Thread Adam Wan
I'm really curious as to how to output data from ereg_replace() in a standard way. I'm familiar with "\\1" to ouput the original string, but not sure as to how I can use functions within the output parameter to process this value further. - // here is a simple example of what

[PHP] Re: Executing functions within ereg_replace() output

2002-04-07 Thread Adam Wan
Thanks! That preg_replace_callback helps alot. -Adam "Cc Zona" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Adam Wan) wrote: > > > $content = 'string

[PHP] Re: counter for HIGH traffic site

2002-04-07 Thread Adam Wan
"Craig Westerman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm needing counter for site that receives 60 to 80 hits a minute. Many I > have tried cause excessive server load and need to be deactivated or they > lose data and return to zero without warning