ip/root/index.php

4 lines
91 B
PHP

<?php
header('Content-Type: application/json');
echo json_encode($_SERVER['REMOTE_ADDR']);