Heim >Backend-Entwicklung >PHP-Tutorial >短网址api,网址压缩,网址缩短

短网址api,网址压缩,网址缩短

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-25 09:06:481175Durchsuche
http://qita.in/api.html
  1. $urls="http://qita.in/api.php?url=".$_POST['url'];
  2. $shorturls = file_get_contents($urls);
  3. $shorturls=trim($shorturls);
  4. $shorturls=iconv("UTF-8", "GB2312//IGNORE", $shorturls);
  5. echo $shorturls;
  6. ?>
  7. 网站:
复制代码


Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn