如何在PHP脚本中调用URL [英] How to call an URL in PHP Script
本文介绍了如何在PHP脚本中调用URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在PHP中发出URL的HTTP请求。我想明确调用该文件,因此require或include不会在那里工作。
How to make an HTTP request of an URL in PHP. I want to call the file explicitly so require or include won't be working over there.
推荐答案
HttpRequest $ c有什么问题$ C>?请参阅: http://php.net/manual/en/class.httprequest.php [< a href =http://php.net/manual/en/class.httprequest.phptarget =_ blanktitle =New Window> ^ ]。
-SA
What's wrong withHttpRequest
? Please see: http://php.net/manual/en/class.httprequest.php[^].
—SA
这篇关于如何在PHP脚本中调用URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文