Page MenuHomeDevCentral

D3426.id8845.diff
No OneTemporary

D3426.id8845.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
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)

Event Timeline