|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi all,
i wrote a small script that has my database connection info in it, i.e. server, userid, pword, etc. and then i just "include" it in my other scripts when i want to connect. however i don't like having my pword sitting in a script like that. i'm a newbie and i don't know what to do with it... i tried sticking it in a secure .htaccess folder but then it wouldn't make the connection. i also tried to md5 it. but it didn't like that either... any insights/links/other threads would be sweet.. many thanks! |
|
#2
|
|||
|
|||
|
PHP Code:
__________________
-- Jason |
|
#3
|
|||
|
|||
|
PHP Code:
thanks.. it worked! i new it was easy ![]() |
|
#4
|
|||
|
|||
|
digiprog
Hi,
I am buy digiprog but i dont have some conectors and user manual.I have last update software from 20.04 2002. If anybody have some sheme conectors please send me. |
|
#5
|
||||
|
||||
|
For additional security, you might consider storing your password file outside the Web tree; else you've just got another script with the password info in it and you really haven't gained yourself anything.
|
|
#6
|
|||
|
|||
|
Encrypt it for maximum security.
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#7
|
|||
|
|||
|
http://www.turcksoft.com/en/e_mmc.htm
http://phpcoder.shadonet.com/ I use these and they work very nicely, for both optimization and encoding. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Database Development > "Hiding" Database Connection Info? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|