Sign in
fuchsia
/
third_party
/
curl
/
refs/tags/before_urldata_rename
/
.
/
php
/
examples
/
simpleget.php
blob: 0ae4313157d6633c4dda9fea5def646bd3712a95 [
file
] [
log
] [
blame
]
<?
php
//
// A very simple example that gets a HTTP page.
//
$ch
=
curl_init
();
curl_setopt
(
$ch
,
CURLOPT_URL
,
"http://www.zend.com/"
);
curl_setopt
(
$ch
,
CURLOPT_HEADER
,
0
);
curl_exec
(
$ch
);
curl_close
(
$ch
);
?>