Hardwarez Posted October 23, 2006 Share Posted October 23, 2006 ???I have been authorizing users for a script by ip address. Problem is that I will have many users from the same ip address.Is there a way I can find the socket or port number being used to connect to a client ip address?For example I see that this http connection is on port 2297... So I hope to generate an Id based on ip and port number.. Link to comment https://forums.phpfreaks.com/topic/24872-can-i-get-the-socket-or-port-number-for-a-http-client-connection/ Share on other sites More sharing options...
trq Posted October 23, 2006 Share Posted October 23, 2006 $_SERVER['REMOTE_PORT'] Link to comment https://forums.phpfreaks.com/topic/24872-can-i-get-the-socket-or-port-number-for-a-http-client-connection/#findComment-113397 Share on other sites More sharing options...
Hardwarez Posted October 24, 2006 Author Share Posted October 24, 2006 Great! That is what I was looking for. Now, I see that the port changes every 15 seconds.. I guess I will need to find a way to make apache allow 500 second time outs :PThanks again! Link to comment https://forums.phpfreaks.com/topic/24872-can-i-get-the-socket-or-port-number-for-a-http-client-connection/#findComment-113597 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.