[Nfb-web] nfbnet cpanel glitch

Arthur Jacobs ajacobs633 at aol.com
Tue Aug 25 23:37:36 UTC 2015


I believe it is localhost. 

Sent from my iPhone

> On Aug 25, 2015, at 6:56 PM, Bryan Schulz via Nfb-web <nfb-web at nfbnet.org> wrote:
> 
> Hi,
> 
> For those familiar with the cpanel system used on sites on the nfb network,
> would someone know what to set for $hostname used in mysql connection files?
> 
> Sample:
> <?php
> $username = "admin";
> $password = "abc123";
> $hostname = "nfbmo";
> $database = "conven15";
> 
> $dbConn = mysql_connect($hostname, $username, $password)
> or die("Unable to connect to the convention database");
> 
> $selected = mysql_select_db($database,$dbConn)
> or die("Connection to $database failed");
> ?>
> 
> Bryan Schulz
> b.schulz at sbcglobal.net
> 
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> To unsubscribe, change your list options or get your account info for Nfb-web:
> http://nfbnet.org/mailman/options/nfb-web_nfbnet.org/ajacobs633%40aol.com




More information about the NFB-Web mailing list