Reply to Re: how to not write password in code for using to mysql?

Your name:

Reply:


Posted by Jeff North on 05/28/07 00:44

On Sun, 27 May 2007 18:56:11 +0200, in alt.php "_mario.lat"
<none@libero.it>
<pan.2007.05.27.16.56.08.951551@libero.it> wrote:

>| >> I use PHP and I'd like to not write in hardcoded way password
>| >> and login to access to mysql.
>| >> how to not write password in code for access to mysql?
>| >> How can I do?
>| >> I'd like that who see my code don't see my paswords.
>| >> there is a solution?
>| >
>| > Now you can create the following file
>|
>| Thank you for answering me.
>| I'm shure there is a better way with cript:
>| DES or SHA, RSA...
>| Mario.

Something that hasn't been discussed is mySQL views.
If you are running mySQL 5+ then you can create a view.
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация