Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  include file for database login info

phpMyEdit General     include file for database login info
Odoslať novú tému   Odpovedať na tému    
 
echo     Založený: 28.12.2003   Príspevky: 3  
Príspevok Zaslal: 2004-02-11 00:55
Návrat hore  Odpovedať s citátom     

In the docs, why does it recommend that the first four database connection options (login info for the database) be moved to an include file, since the php code from your calling program can't be accessed from a browser?

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-02-12 12:26
Návrat hore  Odpovedať s citátom     

imagine you have 54 pme scripts and you want to change your password or move to another webhosting ....

 
slarsen     Založený: 17.02.2004   Príspevky: 4  
Príspevok Zaslal: 2004-02-17 16:55
Návrat hore  Odpovedať s citátom     

michal Napísal:
imagine you have 54 pme scripts and you want to change your password or move to another webhosting ....


why can't you just rename the files with a common ext like .rn for rename and then cat the files and replace a string?

 
hbernard     Založený: 23.03.2003   Príspevky: 159   Bydlisko: FRANCE
Príspevok Zaslal: 2004-02-22 22:20
Návrat hore  Odpovedať s citátom     

echo Napísal:
In the docs, why does it recommend that the first four database connection options (login info for the database) be moved to an include file, since the php code from your calling program can't be accessed from a browser?

Because if there is a misconfiguration of your server, php code may became avalaible (or if calling php preprocessor failed, for another example).

If your login/password are put in an include folder that is not exposed by the Web Server, your confidentials infos can't be accessed.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov