PHP CLI script for encoding into URL, base64 and others.