projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a5e16
)
Update comments and wrap in <?php and ?>
author
Sterling Hughes
<sterling@bumblebury.com>
Thu, 31 May 2001 12:25:49 +0000
(12:25 +0000)
committer
Sterling Hughes
<sterling@bumblebury.com>
Thu, 31 May 2001 12:25:49 +0000
(12:25 +0000)
php/examples/simpleget.php
patch
|
blob
|
history
diff --git
a/php/examples/simpleget.php
b/php/examples/simpleget.php
index 17c1757bf157b31ae25cb4808342c5dfb6f61feb..0ae4313157d6633c4dda9fea5def646bd3712a95 100644
(file)
--- a/
php/examples/simpleget.php
+++ b/
php/examples/simpleget.php
@@
-1,6
+1,7
@@
-#
-# A very simple example that gets a HTTP page.
-#
+<?php
+//
+// A very simple example that gets a HTTP page.
+//
$ch = curl_init();
@@
-10,4
+11,4
@@
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
curl_close ($ch);
-
+?>