[PHP] Limitations of preg_replace?

2007-10-25 Thread Werner Schneider
Hi. Are there any limitations of preg_replace and is there a way to change them (for example with ini_set)? I got a php 4.4.7 on a linux-webhoster which crashes without error-message on this script: \n"; } $txt = preg_replace("//isU", "", $txt); print $txt; ?> If I loop on

Re: [PHP] output-buffer and memory-issue

2007-10-25 Thread Werner Schneider
> > Then see if you get any errors. Although, if > you're > > seg faulting, you > > still won't see an error since the program just > > dies. > Thanks for your reply. It seems that this is > happening, becaus even with your code I get no > errors. > It could be as well that the script dies before

Re: [PHP] output-buffer and memory-issue

2007-10-24 Thread Werner Schneider
--- Robert Cummings <[EMAIL PROTECTED]> schrieb: > On Wed, 2007-10-24 at 21:07 +0000, Werner Schneider > wrote: > > Hi, I got a strange problem: Using php 4.4.x, I > capture the whole output for a webpage into the > output-buffer by using ob_start and ob_get_clean, >

[PHP] output-buffer and memory-issue

2007-10-24 Thread Werner Schneider
Hi, I got a strange problem: Using php 4.4.x, I capture the whole output for a webpage into the output-buffer by using ob_start and ob_get_clean, because I got to make some replacements in the html-code before sending the page to the browser. This worked fine with a small page, but now I got a