Page MenuHomeDevCentral

No OneTemporary

diff --git a/network/_documents.xml b/network/_documents.xml
index e031e0e..03551e3 100644
--- a/network/_documents.xml
+++ b/network/_documents.xml
@@ -1,7 +1,14 @@
<documents topic="network">
<document>
<article>mx</article>
<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
index 0000000..b1c8963
--- /dev/null
+++ b/network/ip.php
@@ -0,0 +1,3 @@
+<?php
+ echo $_SERVER["REMOTE_ADDR"];
+?>

File Metadata

Mime Type
text/x-diff
Expires
Fri, Sep 12, 20:53 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2977169
Default Alt Text
(800 B)

Event Timeline