|
Posted by Alvaro G. Vicario on 07/26/06 19:17
*** bobmct escribió/wrote (Tue, 25 Jul 2006 17:06:40 -0400):
> It appears that if NO output is done prior to the header() function then the
> session_start() will still work.
PHP gives a warning when you do so. Try setting error_reporting to E_ALL
or, at least, E_ALL & ~E_NOTICE.
> Normally for debugging I display some variables as output and it appears
> that is what was biting me.
>
> As someone once said decades ago: "If the computer is smart enough to know
> its incorrect, then why isn't it smart enough to correct it?"
It could correct it, let's say, randomly ignoring some of your code? ;-)
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|