I have a page where I need to encode a link much like the Atomaticlabs enkoder does for e-mail links, but it needs to be something that I can generate dynamically using PHP.
Does anyone have a link to a tutorial or do you have some tips for creating encoded javascripts using PHP?