I want to fetch the local ip and proxy server address by php code.
jscriptanit
0
Newbie Poster
Recommended Answers
Jump to Post$ipAddress = $_SERVER;
$localIpAddress = $HTTP_SERVER_VARS;
Jump to Postthats becase when you type http://localhost (or whatever the local machine is called) from the machine itself then you will get directed to 127.0.0.1
All 5 Replies
omick16
1
Newbie Poster
jscriptanit
0
Newbie Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
Anonymusius
5
Posting Whiz in Training
dr4g
25
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.