discuss.answer
-
☆ A M B ☆
- 24,524 Posts
What console do you mean? You can find the IP address from PHP's _SERVER["SERVER_ADDR"] array. To make life easy, just create a new Dashboard widget, with a widget type of "Inline PHP Widget" and put in this code:
<?php
return $_SERVER["SERVER_ADDR"];
Place the new widget in your default dashboard and move it to wherever you want it to show.
-
☆ A M B ☆
- 24,524 Posts
You could just have the widget return "New Site", or the server name, or whatever you wanted to indicate that it's the new server.
That worked great. Thanks. I was referring to the Dashboard when I said Console.
-
☆ A M B ☆
- 24,524 Posts
Ok. To me, "Console" means the browser console, but I didn't think that's what you meant.