Home > Backend Development > PHP Tutorial > Does anyone know if there is any way to put an H5 page of Yiqixiu on your own Yiqixiu through a php program?

Does anyone know if there is any way to put an H5 page of Yiqixiu on your own Yiqixiu through a php program?

WBOY
Release: 2016-08-04 09:19:28
Original
1311 people have browsed it

Today, a customer gave me a request to put an H5 page of Yiqixiu on my own Yiqixiu through a php program. But I was completely confused. . . Can anyone explain?

A master said to use file_get_contents(). I tried it and then changed to curl method

<code class="php"><?php
$url = 'http://h5.eqxiu.com/s/O5KK3qDX';
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HEADER, 1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($curl);
curl_close($curl);
var_dump($data);


但是不行啊,错误:
</code>
Copy after login
Copy after login

Does anyone know if there is any way to put an H5 page of Yiqixiu on your own Yiqixiu through a php program?

Reply content:

Today, a customer gave me a request to put an H5 page of Yiqixiu on my own Yiqixiu through a php program. But I was completely confused. . . Can anyone explain?

A master said to use file_get_contents(). I tried it and then changed to curl method

<code class="php"><?php
$url = 'http://h5.eqxiu.com/s/O5KK3qDX';
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HEADER, 1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($curl);
curl_close($curl);
var_dump($data);


但是不行啊,错误:
</code>
Copy after login
Copy after login

Does anyone know if there is any way to put an H5 page of Yiqixiu on your own Yiqixiu through a php program?

file_get_contents

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template