diff options
author | Sterling Hughes <sterling@bumblebury.com> | 2001-05-31 12:25:49 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@bumblebury.com> | 2001-05-31 12:25:49 +0000 |
commit | 2d0dbd87c359a32d16d5d6e92c2854cca72cf5a3 (patch) | |
tree | 0963fd57c51b240f44d159ebbd5cc761423331b6 /php/examples | |
parent | 13a5e16f350e493425bd0a1b7c059ccfe561e5d1 (diff) |
Update comments and wrap in <?php and ?>
Diffstat (limited to 'php/examples')
-rw-r--r-- | php/examples/simpleget.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/php/examples/simpleget.php b/php/examples/simpleget.php index 17c1757bf..0ae431315 100644 --- 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); - +?> |