Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3742275
D3426.id8845.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
681 B
Referenced Files
None
Subscribers
None
D3426.id8845.diff
View Options
diff --git a/network/_documents.xml b/network/_documents.xml
--- a/network/_documents.xml
+++ b/network/_documents.xml
@@ -4,4 +4,11 @@
<title>SMTP server search</title>
<description>Gets the first MX record from an e-mail address.</description>
</document>
-</documents>
\ No newline at end of file
+ <document>
+ <article>ip</article>
+ <title>IP address</title>
+ <description>Gets the IP address connecting to this resource.</description>
+ <noheader />
+ <nofooter />
+ </document>
+</documents>
diff --git a/network/ip.php b/network/ip.php
new file mode 100644
--- /dev/null
+++ b/network/ip.php
@@ -0,0 +1,3 @@
+<?php
+ echo $_SERVER["REMOTE_ADDR"];
+?>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 04:10 (11 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246082
Default Alt Text
D3426.id8845.diff (681 B)
Attached To
Mode
D3426: Print remote IP address
Attached
Detach File
Event Timeline
Log In to Comment