IIS as a server, in PHP with $_server[' remote_port '] can not get the corresponding value, why, how to solve it
Reply to discussion (solution)
At least there's no sign of what you're saying in IIS I can access.
Can you tell me your configuration and version on the first floor?
I mean to be able to contact, that is not mine, I go to close the people's configuration what to do?
You know what's the use of Remote_port? This is dynamic.
I also want to know how you get the $_server[' Remote_port ' under IIS
I didn't make it to WIN7+IIS7.
How could it not?
Window 2003 Server RC2 + IIS6
Window Server + IIS7.5
echo $_server[' Remote_port '];
Dynamic port number will be displayed
I don't know what you're going to do with this stuff.
Do not know what reason is not show out, depressed!
Moderator test in the IIS5.1 or in the window 2003server SP2+IIS6 environment can get $_server[' remote_port '],asp in PHP to successfully obtain Remote_port, indicating IIS5.1 or in window 2003server SP2+IIS6 has provided remote_port, but somehow PHP is not getting it. I also want to tell the moderator, can solve the problem, you reply, why ask why we want to get this variable, I have also come into contact with the good, but I try not to use, you do not because of their access to the easy, you think all good, can only show you too narrow. What I want to know is the reason and solution of bad use, don't say those useless, make people feel shallow
For your very knowledgeable person, you can only suggest that you look at the Microsoft Knowledge Base.
Http://support.microsoft.com/kb/319083/es
IIS does not seem to be getting
PHP cannot get remote_port problem solution under IIS
Http://tkxxd.net/thread-1140-1-1.html