View Single Post
Old 05-23-2005, 02:22 AM   #6 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
That *really* won't work for him - he was needing something that he can put in a compiled class to discover the server (needless to say, you can't simply insert PHP into a Java class). If he already knew the address (DNS or IP), he wouldn't be having these problems. Unless he was talking about finding his own IP, we've been working on the assumption that he has no clue as to where his server is located any given day. Your solution only works if you know the DNS address, which isn't an assumption here.
__________________
GitS
Belisarius is offline   Reply With Quote