- remove example scripts, as those can be extracted from tutorial.txt with extract.php
[m6w6/ext-http] / docs / examples / GET_Queries.php
diff --git a/docs/examples/GET_Queries.php b/docs/examples/GET_Queries.php
deleted file mode 100644 (file)
index 671f640..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-$r = new HttpRequest('http://www.google.com/search');
-
-// store Googles cookies in a dedicated file
-touch('google.txt');
-$r->setOptions(
-       array(  'cookiestore'   => 'google.txt',
-       )
-);
-
-$r->setQueryData(
-       array(  'q'             => '+"pecl_http" -msg -cvs -list',
-                       'hl'    => 'de'
-       )
-);
-
-// HttpRequest::send() returns an HttpMessage object
-// of type HttpMessage::RESPONSE or throws an exception
-try {
-       print $r->send()->getBody();
-} catch (HttpException $e) {
-       print $e;
-}
-?>