
1 2 3 4 | <code>想要获取“http:
但是得到的是“<title>æä»å¿
æ¥_视频在线观看-爱奇艺搜索</title>”
不知道“æä»å¿
楔是什么编码格式?</code>
|
Copy after login
Copy after login
Reply content:

1 2 3 4 | <code>想要获取“http:
但是得到的是“<title>æä»å¿
æ¥_视频在线观看-爱奇艺搜索</title>”
不知道“æä»å¿
楔是什么编码格式?</code>
|
Copy after login
Copy after login
html_entity_decode()
In fact, you should urlencode it. My test was normal and it was not encoded
1 2 3 4 | <code> $data = file_get_contents ( 'http://so.iqiyi.com/so/q_' . urlencode( '入侵华尔街' ));
var_dump( $data );
</code>
|
Copy after login