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:
parent
2d0dbd87c3
commit
490c00fb30
@ -1,6 +1,7 @@
|
||||
#
|
||||
# A very simple PHP example that sends a HTTP POST to a remote site
|
||||
#
|
||||
<?php
|
||||
//
|
||||
// A very simple PHP example that sends a HTTP POST to a remote site
|
||||
//
|
||||
|
||||
$ch = curl_init();
|
||||
|
||||
@ -10,3 +11,4 @@ curl_setopt($ch, CURLOPT_POSTFIELDS, "postvar1=value1&postvar2=value2&postvar3=v
|
||||
|
||||
curl_exec ($ch);
|
||||
curl_close ($ch);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user