I'm using PHP to write a using socket library application. How could I get the IP of the client? THanks for any help
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- Multiple sockets for clients to connect to
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
Use socket_getpeername
For more/discussion - getting visitor's real IP address