function getTinyUrl($url) {
$tinyurl = file_get_contents("http://tinyurl.hu/index.php?pages=services&fullurl=".$url);
return $tinyurl;
}
//ez csak akkor mûködik ha allow_url_fopen engedélyezve van
function getTinyUrl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://tinyurl.hu/index.php?pages=services&fullurl=".$url );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true );
return $tinyurl = curl_exec($ch);
}
print getTinyUrl("http://asva.info"); //need http://
Figyelem csalók!
Az adathalász weboldalak előszeretettel elkezdték
használni a linkrövidítő szolgáltatásokat is, mint a
tinyurl.hu oldalt is. Nagyon fontos hogy hivatalos cég
megkeresést sosem kezdeményez átírányító oldalon
keresztül. Amennyiben ilyen oldalt talál rendszerünkbe kérem
jelezze felénk! info@tinyurl.hu
Attention fraudsters!
Phishing websites have also started using link shortening
services such as tinyurl.hu. It is very important that an
official company never initiates an enquiry through a redirect site.
If you find such a page in our system, please let us know! info@tinyurl.hu