Hey all,

I'm trying to mangle email addresses to pass to an email sending form and
want to use a custom hashing function within an eregi_replace.

Example:

$text = eregi_replace("[my big email regex]", "send.php?addr=" .
hash_func("\\1@\\2.\\3"), $text);

I can't seem to get this to work... it is just hashing the static text
within the function, not the replaced values.

Can this just not be done?

-Dan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to