Simple php function to encode(unreadable) and decode(readable) email address.

Dear readers,

I needed to improve email security little but needed to create functions to do so. under given are these.

These function uses simple php built-in string functions like.

email encode php simple

string replace:

str_replace();

string reverse:

strrev();

Code is given below:

Output is:

moc#liamg^enoj
jone@gmail.com

Leave a Reply