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.. Quote Link to comment Share on other sites More sharing options...
trq Posted October 23, 2006 Share Posted October 23, 2006 $_SERVER['REMOTE_PORT'] Quote Link to comment 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.