preg_replace problem (or possibly bug)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am currently writing a forum system, but at the moment I have a bug
that no one can seem to get to the root cause of. Basically I am using
preg_replace with the pattern as "'\[url=(.*?)\](.*?)\[/url\]'is".
However for most links it works fine but for others it just doesn't
render the bbcode to a link, we were trying to get to the root cause
of it here http://michael-m.co.uk/forums/index.php?action=view_topic&id=31&page=1
but we failed. I'm not really that good with regular expresions so
that might explain why. Also we had never noticed these problems until
about 3 days ago, but I see no reason why it could have started. All
help will be greatly appreciated, you may use the username php and the
password php to log on to do your own tests but please keep the
testing to the topic (and the spam forum if necessary).

Many Thanks,
Michael Mulqueen
<michael-m.co.uk>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux