Posted By

StephFR on 08/17/10


Tagged

url php


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

larste


short url


 / Published in: PHP
 

  1. function get_tiny_url($url)
  2. {
  3. return file_get_contents("http://tinyurl.com/api-create.php?url=$url");
  4. }

Report this snippet  

You need to login to post a comment.