Created
October 31, 2019 03:05
-
-
Save parzibyte/89c73e992481658d23d2046d7b1dad25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Modo de uso | |
$enlace = "https://parzibyte.me/blog"; | |
try { | |
$acortado = acortarAdfLy($enlace); | |
if ($acortado != false) { | |
echo "El enlace acortado es $acortado"; | |
} | |
} catch (Exception $e) { | |
echo "Error acortando: " . $e->getMessage(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment