Created
June 10, 2012 22:26
-
-
Save MikeRogers0/2907534 to your computer and use it in GitHub Desktop.
Tiny URL API
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 | |
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 | |
*/ | |
?> |
try with https
I got error 503 too from this morning, now it's back
Right @danouche93 it's back now. Thanks
is there a limit to the use of this API?
Wow, Thanks it's working...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today, 20211118 doesnt work !!!
Appears a html page with:
Just a moment...