Files
Testing/seantester.php

22 lines
470 B
PHP
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
<?php
// setup the URL
// setup the URL
$url = 'http://api.stopforumspam.org/api?json&ip=209.107.214.81';
// init the request, set some info, send it and finally close it
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
$check=json_decode($result, true);
if($check["ip"]["appears"]){echo "AAA";}