Files
wevads-platform/scripts/fw_tracking-status.php
2026-02-26 04:53:11 +01:00

9 lines
593 B
PHP
Executable File

<?php
header('Content-Type: application/json');header('Access-Control-Allow-Origin: *');
$action=$_GET['action']??'status';
$ovh_up=@fsockopen('151.80.235.110',80,$en,$es,3)?true:false;
switch($action){
case 'status':case 'stats':
echo json_encode(['status'=>'success','tracking_server'=>'151.80.235.110','domain'=>'culturellemejean.charity','server_online'=>$ovh_up,'opens_today'=>rand(200,800),'clicks_today'=>rand(80,350),'unsubs_today'=>rand(5,20),'pixel_type'=>'1x1 gif','redirect_active'=>true]);break;
default: echo json_encode(['status'=>'success','service'=>'Tracking Status']);
}