I have this little system:
<?php
if (!empty($_POST)) {
extract($_POST);
$urlEncode = base64($url);
}
?>
this system I encrypt a url. ex: I put in an input: link
it returns encrypted: L1lrYmEvenIrNUthUW4ydHJGUEI4S0p0bGJvNGxnOD0=heTN6RCtHcUVHZjM
That's fine, but how do I make it small? ex only:
https://google.com para -> W4ydHJGUEI