Commit adbebe5d authored by Seth D. Galitzer's avatar Seth D. Galitzer
Browse files

inital import, edit readme

parent 60a4a645
# MyIP
Simple page to display remote user's IP and hostname.
\ No newline at end of file
Simple page to display remote user's IP and hostname
Includes css so you can customize your font face and color if you like that kindof thing
## Caveats
- only good for local subnet, doesn't handle NAT or proxy
- must have reverse DNS enabled for your IPs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<title>My IP</title>
<link rel="stylesheet" type="text/css" href="myip.css" />
<p>Your IP address is:<br><?php print $_SERVER['REMOTE_ADDR'] ?></p>
<p>Your hostname is:<br><?php print gethostbyaddr($_SERVER['REMOTE_ADDR']) ?><p>
@import url('');
p {
font: 80px "Bai Jamjuree",arial,sans-serif;
color: #512888;
text-align: center;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment