Sign in
fuchsia
/
third_party
/
curl
/
70793595fe1e5f3f32b438f01f1b3dedda6e8577
/
.
/
docs
/
examples
/
simpleget.php
blob: 17c1757bf157b31ae25cb4808342c5dfb6f61feb [
file
] [
log
] [
blame
]
#
# 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
);