Example of php5 script with cURL?
-
Good evening,
I have installed the plugin and did a script but do not believe it is working as I am not experienced with cURL. Can you provide an example of a php5 script that I could set my Cron Manager on GoDaddy to run?
What I have currently (minus my actual information):
<?php
$ch = curl_init(“https://address.to.your.wordpress.com/?woocommerce_ripplejson_secret=SECRET”);
$fp = fopen(“ripple_wallet.txt”, “w”);curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);curl_exec($ch);
curl_close($ch);
fclose($fp);
?>https://www.ads-software.com/plugins/woocommerce-ripple-json-rpc/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Example of php5 script with cURL?’ is closed to new replies.