Home  >  Article  >  Backend Development  >  php调用远程url有关问题

php调用远程url有关问题

WBOY
WBOYOriginal
2016-06-13 12:35:52794browse

php调用远程url问题
请问下,假如:$url = http://www.xx.com/?param=yyyyyyyyy; 用file_get_contents方式调用没反应。我的param长度很长。大概是3000个手机号以字符串形式连接起来。请问file_get_contents调用url参数长度有限制吗?有没有更好的调用方式?我现在做的是一个调用远程接口发送短信,有没有更好更安全的调用方式?

Statement:
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