projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- examples fixup
[m6w6/ext-http]
/
docs
/
examples
/
GET_Queries.php
diff --git
a/docs/examples/GET_Queries.php
b/docs/examples/GET_Queries.php
index cb21cb6de2bbd085ca8a2622f3a034bf7b36f967..671f640b9c2ae31caedd77236d46c712c3948d3f 100644
(file)
--- a/
docs/examples/GET_Queries.php
+++ b/
docs/examples/GET_Queries.php
@@
-1,9
+1,10
@@
<?php
<?php
-$r = new HttpRequest('http://www.google.com');
+$r = new HttpRequest('http://www.google.com
/search
');
// store Googles cookies in a dedicated file
// store Googles cookies in a dedicated file
+touch('google.txt');
$r->setOptions(
$r->setOptions(
- array( 'cookiestore' => '
../cookies/
google.txt',
+ array( 'cookiestore' => 'google.txt',
)
);
)
);