Posted by Peter Boosten on 08/09/06 09:35
In alt.php Jonathan <jonathan@heelal.nl> wrote:
> mpar612 wrote:
>> // Connect to the database
>> $db =
>> DB::connect('mysql://xxxxxxx:xxxxxxx@x.x.x.x/mikepar8_mikeparkermusiccom');
>
> One advice: Usenet is archived and your password will be visible for
> years on end, never post you actual connection string including
> passwords! It is even better not to hardcode them, especially not in the
> script file itself.
>
Good that you repeated it, in case anyone missed it ;-)
Peter
--
http://www.boosten.org
Mail: peter at boosten dot org
Navigation:
[Reply to this message]
|