Change to // comments and add <?php and ?> wrappers
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#
|
<?php
|
||||||
# A very simple PHP example that sends a HTTP POST to a remote site
|
//
|
||||||
#
|
// A very simple PHP example that sends a HTTP POST to a remote site
|
||||||
|
//
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
|
||||||
@@ -10,3 +11,4 @@ curl_setopt($ch, CURLOPT_POSTFIELDS, "postvar1=value1&postvar2=value2&postvar3=v
|
|||||||
|
|
||||||
curl_exec ($ch);
|
curl_exec ($ch);
|
||||||
curl_close ($ch);
|
curl_close ($ch);
|
||||||
|
?>
|
||||||
|
Reference in New Issue
Block a user