Re: Re: show info from mysql db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/10/2012 09:50 AM, Tim Dunphy wrote:
You had been keeping the password secret, but it looks like you
accidentally leaked it, so a replacement might be in order :)


oh wow.. gotta hate when you do that!!! on it!


Glad you got it fixed. Typos can be little buggers to find sometimes.

me too.. fell back to the old 'echo hello' test strategy .. have to
try to remember that strategy before i go running for help.. :)

FYI: When developing, make sure to have "error_reporting = E_ALL" and "display_errors = On" or be sure to tail your error_log file.


tim

On Sun, Jun 10, 2012 at 12:15 PM, Adam Richardson<simpleshot@xxxxxxxxx>  wrote:
On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy<bluethundr@xxxxxxxxx>  wrote:
$dbc = mysqli_connect('127.0.0.1','admin',secret','trek_db')
     or die ('Could not connect to database');

used to be...

$dbc = mysqli_conect('127.0.0.1','admin','Duk30fZh0u','trek_db')
     or die ('Could not connect to database');

You had been keeping the password secret, but it looks like you
accidentally leaked it, so a replacement might be in order :)

Glad you got it fixed. Typos can be little buggers to find sometimes.

Adam

--
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com





--
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux