Skip to content

Instantly share code, notes, and snippets.

@artlili
Created August 3, 2019 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artlili/4a9de7a9f70452868843abd66d52e69a to your computer and use it in GitHub Desktop.
Save artlili/4a9de7a9f70452868843abd66d52e69a to your computer and use it in GitHub Desktop.
<?php
header('Access-Control-Allow-Origin: *');
echo $_SERVER('REMOTE_ADDR');
?>
console run php -S 127.0.0.1:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment