Quote:
Originally Posted by KirbyDE
If you really want to do this (which isn't worth it) you might want to use smth. like the attached script.
|
I think obfuscating emails is really worth it, if that's what you meant?
And as always, great job with the code recommendations :up:
One issue, I think, that might be a problem with both versions is the image caching. As it's called email.png and browsers will often cache this, and one will end up sending emails to the wrong members
I'd call the image something like this,
PHP Code:
$im = imagecreatefrompng('email-' . $userinfo['userid'] . '.png');
or with a random string as a cache buster.