no... still doesnt work. it works when i use my machine and do it locally (winXp, apache, php 4.3.2), but when i upload it (easyspace.com) it doesnt work, just returns an empty string.
Maybe it's something easyspace have done....?
oh hold on... didnt see the first reply....
Yep.
$ipaddress = getenv(REMOTE_ADDR);
it works now. why is that then... it must be somthing easyspace have done to their PHP then?