note 107861 added to http.request.options

From: Date: Sat, 10 Mar 2012 18:59:44 +0000
Subject: note 107861 added to http.request.options
Groups: php.notes 
Request: Send a blank email to php-notes+get-186580@lists.php.net to get a copy of this message
If someone looking how to use in OOP's context: $options = array( 'useragent' => "Firefox (+http://www.firefox.org)", // who am i 'connecttimeout' => 120, // timeout on connect 'timeout' => 120, // timeout on response 'redirect' => 10, // stop after 10 redirects 'referer' => "http://www.google.com" ); $request = new HttpRequest('http://example.com'); $request->setOptions($options); $request->send(); ---- Server IP: 59.162.86.8 Probable Submitter: 61.17.102.223 ---- Manual Page -- http://www.php.net/manual/en/http.request.options.php Edit -- https://master.php.net/note/edit/107861 Del: integrated -- https://master.php.net/note/delete/107861/integrated Del: useless -- https://master.php.net/note/delete/107861/useless Del: bad code -- https://master.php.net/note/delete/107861/bad+code Del: spam -- https://master.php.net/note/delete/107861/spam Del: non-english -- https://master.php.net/note/delete/107861/non-english Del: in docs -- https://master.php.net/note/delete/107861/in+docs Del: other reasons-- https://master.php.net/note/delete/107861 Reject -- https://master.php.net/note/reject/107861 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186580) next »