Is there a way to check for if I am running under my localhost or my production site? This way I don't have to worry about changing information when I am developing.
Thank you
Jim
Example:
Dev site
$server = "localhost";
$username = "root";
$password = "admin";
$database = "copswest";
$table = "vendor";
Prod site
$server = "mySite.com";
$username = "root";
$password = "admin";
$database = "copswest";
$table = "vendor";