- examples fixup
[m6w6/ext-http] / docs / examples / GET_Queries.php
index cb21cb6de2bbd085ca8a2622f3a034bf7b36f967..671f640b9c2ae31caedd77236d46c712c3948d3f 100644 (file)
@@ -1,9 +1,10 @@
 <?php
-$r = new HttpRequest('http://www.google.com');
+$r = new HttpRequest('http://www.google.com/search');
 
 // store Googles cookies in a dedicated file
+touch('google.txt');
 $r->setOptions(
-       array(  'cookiestore'   => '../cookies/google.txt',
+       array(  'cookiestore'   => 'google.txt',
        )
 );