How to make an HTTP request in PHP?

后端 未结 3 2009
不知归路
不知归路 2020-12-21 12:09

I have to send an SMS by making an HTTP request via GET method. The link contains information in the form of GET variables, e.g.

http://www.somelink.com/file         


        
3条回答
  •  梦毁少年i
    2020-12-21 12:54

    The easiest way is probably to use cURL. See http://codular.com/curl-with-php for some examples.

提交回复
热议问题