Jump to content

I Ripped a website and re coded .php, but PHP is not working


peterpilp

Recommended Posts

Hi,

I ripped http:// and here is the link to my temporary test site https://landing-page-ig-free-fol.000webhostapp.com/

I got php codes from one of my friend as below

 

newfollowers.php

 

<?php

$post = [
    'usr' => $_POST['usr'],
];

$ch = curl_init('https://.....php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
get.php

 

<?php

$post = [
    'usr' => $_POST['usr'],
];

$ch = curl_init('https://000webhostapp.com/get.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
but site is not responding when clicked the "get free followers" button

 

Any expert suggestions are greatly appreciated..

 

Cheers.

Edited by gizmola
Removed url's
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.