Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过GETPHP 将数据发送到 url。在这里收到另一个问题的答案后,我决定参加史努比班。问题是,我似乎无法为此类中的方法找到非常好的文档/示例。
GET
我看到了该->httprequest()方法,但看不到可以在哪里添加值数组以及请求。
->httprequest()
有没有比较熟悉的可以帮忙啊?
$vars = array( "fname" => "Jonathan", "lname" => "Sampson" ); $snoopy = new Snoopy(); $snoopy->httpmethod = "GET"; // is GET by default $snoopy->submit( "http://www.example.com", $vars ); print $snoopy->results;