Skip to content
Snippets Groups Projects
Commit 13a5e16f authored by Sterling Hughes's avatar Sterling Hughes
Browse files

update the comment style from '#' to '//' which is the "un-official"

standard PHP comment.  Also wrap the code in <?php and ?> and finally
add getbinarypageinvar.php to Makefile.am and README
parent 3d54ba1b
No related branches found
No related tags found
No related merge requests found
EXTRA_DIST = README getpageinvar.php simpleget.php simplepost.php
EXTRA_DIST = README getpageinvar.php getbinarypageinvar.php simpleget.php \
simplepost.php
#
# The PHP curl module supports the received page to be returned in a variable
# if told.
#
<?php
//
// The PHP curl module supports the received page to be returned in a variable
// if told.
//
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://www.myurl.com/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$result=curl_exec ($ch);
curl_close ($ch);
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment