Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tiny URL API
<?php
echo file_get_contents('http://tinyurl.com/api-create.php?url='.'http://www.example.com/');
/* For example
http://tinyurl.com/api-create.php?url=http://www.fullondesign.co.uk/
Would return:
http://tinyurl.com/d4px9f
*/
?>
@oscarsantiago

This comment has been minimized.

Copy link

oscarsantiago commented Jan 29, 2020

Ya no funciona!!

@Nixuge

This comment has been minimized.

Copy link

Nixuge commented Feb 10, 2020

Ya no funciona!!

It does work*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.