After you got your own survey / referral link in place, drop the following code in a file named
get.php:
PHP:
<?php
$post = [
'usr' => $_POST['usr'],
];
$ch = curl_init('http://ig.twebar.com/get.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Then, make another file named
newfollowers.php and drop the following code inside it:
PHP:
<?php
$post = [
'usr' => $_POST['usr'],
];
$ch = curl_init('http://ig.twebar.com/newfollowers.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Make sure both scripts are in the same folder as your index / accessible on:
joyfulfunlife.xyz/testlp/get.php
joyfulfunlife.xyz/testlp/newfollowers.php
your clone should work
if you're getting errors you probably need to enable cURL library in your PHP installation