Entries this day: A_plan_for_today
A plan for today
10:08am JST Wednesday 12 March 2008 (day 13867)
This is a tentative plan:
* figure out why old version (5.2.0) of PHP did *not* give an error when session() was started in the
middle of output (version 5.2.5 does)
answer: the error occurs, but is not being reported to the browser
* figure out why error is being reported to browser on new server when display_errors = Off in
php.ini
answer: php variables can be set in at least 4 places. Here are the places I know of in the
order that the server reads them (so basically the defaults are set in php.ini and the source file
supercedes the others (assuming that the server is configured to allow the php source file to change
the value (beyond the scope of this little tidbit))):
php.ini file:
varname = value
http.conf file:
php_flag varname value
.htaccess file:
php_value varname value
php source file:
<?php ini_set('varname',
'value'); ?>
* ask 丸山さん if he knows why the session_start was moved to the top of a file that's called in
the middle of the page
answer: he doesn't know. He doesn't know what session_start() does
fix it 丸山さん said he'll ponder on it when he gets back from a meeting.
Basically it literally doesn't work where it is, so it must be moved back to where it was. I'm
hoping this will prove my case that we need to be using a CMS. I'm shooting for SVN, but that's
just because it's the one I know.
* go to lunch
3:01pm JST
Okay, the plan continues:
think of something to do
permalink
|