[PHP] Re: why are passwords stored encrypted in databases even when thedatathey protect is stored in the same database?

2008-06-13 Thread Dietrich Bollmann
into hands-it-should-not-be-in, it won't be > there for long. > > - Tul > > P.S. in other words, sounds fine to me :) Thank you again! ...so finally I can get to work :) Best wishes, Dietrich On Fri, 2008-06-13 at 14:20 +0200, M. Sokolewicz wrote: > Dietrich Bollmann

[PHP] Re: why are passwords stored encrypted in databases even when the datathey protect is stored in the same database?

2008-06-13 Thread Dietrich Bollmann
Hi tul, So this was a very long and informative answer :) Thank you very much! On Fri, 2008-06-13 at 12:02 +0200, M. Sokolewicz wrote: > [...] However, people usually write code which may (and will most > of the time) containt exploitable sections which might give a malicious > user the abilit

[PHP] why are passwords stored encrypted in databases even when the data they protect is stored in the same database?

2008-06-13 Thread Dietrich Bollmann
Hi, As far as I remember, in all books I read about PHP and SQL, the password was stored in an encrypted form, even when all the data which should be protected by the password was stored in the same database. Can anybody tell me what is the motivation behind this approach? If somebody hacks the d

Re: [PHP] SetEnv directives in VirtualHost configuration not accessible in PHP

2008-05-16 Thread Dietrich Bollmann
; > Do you still have the problem? > > I'll can have a look, if still needed. > > Iv On Fri, 2008-05-16 at 10:10 -0400, Dmitri wrote: If you are on apache2 server, try |$myvar = > apache_getenv("|APP_CONFIG_SECTION|"); > echo $myvar > and see if it ha

[PHP] SetEnv directives in VirtualHost configuration not accessible in PHP

2008-05-16 Thread Dietrich Bollmann
Hi, I have the following directive in my virtual host configuration: SetEnv APP_CONFIG_SECTION "development" and would like to access the value from PHP with getenv('APP_CONFIG_SECTION') or $_SERVER['APP_CONFIG_SECTION'] or whatever. But none of them work. Is there any PHP / Zend / Apache2

Re: [PHP] Problems with mime encoding of Japanese Characters in Subject and 'From:', 'Reply-to:', ... fields.

2008-03-20 Thread Dietrich Bollmann
Dietrich On Thu, 2008-03-20 at 16:06 +0900, Dietrich Bollmann wrote: > I try to send messages written in Japanese (Kana/Kanji) with php. > > Everything works fine - only when the subject (or the name of the > sender) becomes longer, there seems to be something wrong with the > en

[PHP] Problems with mime encoding of Japanese Characters in Subject and 'From:', 'Reply-to:', ... fields.

2008-03-20 Thread Dietrich Bollmann
Hi, --- note --- I sent a similar message already to php-i18n - but this list seems not to be used very much (20 messages this year) so I am posting it here again... I try to send messages written in Japanese (Kana/Kanji) with php. Everything works fine - only when the subject (or