Welcome to WebmasterWorld Guest from 220.127.116.11
I'm trying $SERVER_ADDR but it isnt working and I can't find another way of doing it. Have searched and searched but must not be using the right key words.
Thanks for your help,
joined:Nov 12, 2005
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.