URL Shortening for long URLs


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $long_url = "http://www.google.com/?q=oh+hai";
  2. $short_url = implode('',file("http://to.m8.to/api/shortenLink?url=$long_url"));

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.