daft117 Posted December 31, 2011 Share Posted December 31, 2011 (edited) dosya indir: http://www.multiupload.com/AYM1VGH2S1 kodu neden buraya koymadım, kodun içindeki bir siteyi, gizlenmiş link sanıp engelliyor örnek kullanım: [b]$kisaltilmis = __TinyUrl("www.google.com")[/b] Edited December 31, 2011 by daft117 Quote Link to comment Share on other sites More sharing options...
blue_life Posted January 1, 2012 Share Posted January 1, 2012 Paylaşım için teşekkürler. Güzel bir örnek! [notice][color="#4169E1"]Local $kisaltilmis = __TinyUrl("www.google.com") MsgBox(64, "", $kisaltilmis) Func __TinyUrl($url) If StringInStr($url, "http://", 2) = 0 Then $url = "http://" & $url Return (BinaryToString(InetRead("http://[size="2"]tinyurl[/size].com/api-create.php?url=" & $url, 1))) EndFunc ;==>__TinyUrl Func __isgd($url) If StringInStr($url, "http://", 2) = 0 Then $url = "http://" & $url Return (BinaryToString(InetRead("http://is.[size="2"]gd[/size]/create.php?format=simple&url=" & $url, 1))) EndFunc ;==>__isgd [/color][/notice] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.