Page MenuHomeDevCentral

D3426.diff
No OneTemporary

D3426.diff

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

Mime Type
text/plain
Expires
Mon, Dec 23, 06:29 (13 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2311958
Default Alt Text
D3426.diff (681 B)

Event Timeline