php-general Digest 11 Jun 2012 05:06:16 -0000 Issue 7849

Topics (messages 318208 through 318210):

Re: show info from mysql db
        318208 by: Adam Richardson
        318209 by: Tim Dunphy
        318210 by: Mihamina Rakotomandimby

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy <bluethu...@gmail.com> 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

--- End Message ---
--- Begin Message ---
> 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.. :)

tim

On Sun, Jun 10, 2012 at 12:15 PM, Adam Richardson <simples...@gmail.com> wrote:
> On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy <bluethu...@gmail.com> 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



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

--- End Message ---
--- Begin Message ---
On 06/10/2012 07:50 PM, Tim Dunphy wrote:
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..:)

I dont agree: If you used exceptions (with real meanings to messages) you would have saved time.

Use exceptions.

--
RMA.

--- End Message ---

Reply via email to