1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Change to // comments and add <?php and ?> wrappers

This commit is contained in:
Sterling Hughes 2001-05-31 12:32:04 +00:00
parent 2d0dbd87c3
commit 490c00fb30

View File

@ -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);
?>