Quote:
Originally Posted by Dismounted
PHP Code:
$post['message'] = preg_replace('/(<a href="mailto:)(.*)@(.*)(">(.*)</a>)/i', "$2 AT $3", $post['message']);
|
This simply seems to eat the email address whole, it doesn't output any string in both of our forum installations.
On our test server, it additionally gives the message:
preg_replace() [function.preg-replace]: Unknown modifier 'a' in /includes/class_postbit.php(296) : eval()'d code (Zeile 1)
Very exciting to be part of a mod development