Red_Avatar
05-01-2007, 03:44 PM
I'm having a bit of a problem - I'm trying to use PHP but for some reason, I can't get it to work. I made a simple file called "index.php" on my webserver with the content:
<?php print "My ip is: $REMOTE_ADDR"; ?>
Just to see if php would work and it won't return the IP. The site where I got the code from does show the IP. Is there anything I need to do to get it working?
<?php print "My ip is: $REMOTE_ADDR"; ?>
Just to see if php would work and it won't return the IP. The site where I got the code from does show the IP. Is there anything I need to do to get it working?