Forum Moderators: coopster
You may have to use $HTTP_SERVER_VARS['SERVER_ADDR']
This is for a very beginners php course I am doing and the teach finally came back to me to explain that this functionality has been blocked on their server and that they use a dynamic IP so it can't be read.
It was a trick question and we were supposed to give server name instead.
Doh!