Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $id = "XXXXXXXX";
- $url = "http://XXXXXXXX";
- $result = file_get_contents('http://XXXXXXXX/yourls-api.php?signature='.$id.'&action=shorturl&format=simply&url='.$url.'');
- echo $result;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment