I am trying to get the server address of my development server, but $_SERVER[remote_addr¹] and $_SERVER[server_addr¹] keep giving me the localhost addr (127.0.0.1). Kinda makes it hard to create a URL for redirects.
The IP address should be 192.168.168.###, based on the current DHCP setting. How do I get the IP address of the machine? Cliff
_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php