使用的是第三方api
http://mrw.so/api.html
$url_long = ‘’;
u
r
l
l
o
n
g
=
u
r
l
e
n
c
o
d
e
(
url_long = urlencode(
urllong=urlencode(url_long);
u
r
l
=
"
h
t
t
p
:
/
/
m
r
w
.
s
o
/
a
p
i
.
p
h
p
?
u
r
l
=
url = "http://mrw.so/api.php?url=
url="http://mrw.so/api.php?url=url_long&key=8752@5e47d51b598db0a40dc180db9274de01&expireDate=2040-03-31";
d
a
t
a
=
c
u
r
l
g
e
t
(
data = curl_get(
data=curlget(url);