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;