February 14, 2007
Updated PHP guide
I have gotten a few e-mails recently about errors when using the test.php page I provide in the testing section.
The errors were of the type:
Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already sent by...
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent...
One of those who reported the errors also provided a solution, which was to place the PHP session code before any of the html code. Perhaps the newer versions of PHP (I only have 5.1.1 installed) are getting more syntactically tighter. I know the newer versions of PHP are requiring full PHP tags now.
Anyway, there is a new version of the test.php code in my PHP install guide