Skip to content
Snippets Groups Projects
Commit 0e83593a authored by Federico Dossena's avatar Federico Dossena Committed by GitHub
Browse files

Merge pull request #19 from ke-mccormick/patch-1

Outputs Client IP in JSON (Requires PHP server)
parents e87c8c86 018992cd
No related branches found
No related tags found
No related merge requests found
<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo "getIP({\"ip\":\"$ip\"});";
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment