
01:40:30 am by david2, Categories:
Geek, 141 words
Blog Software
The blog software is working -- Want the code ? Download it at http://blog.graves.com/b2.tar.gz.
Why didn't it work? Well, something in the combination of php / apache i'm using doesn't send any but the LAST cookie when using the setcookie() function. So I replaced them all with the equivalent meta http-equiv tags. Works now.
Question: one thing i did but should have verified -- I turned on output_buffering in php.ini.
I should have seen what this did to the output of the cookies. output_buffering allows you to mix header statements with body statments, and not get those pesky errors saying you sent header statements after a body statement. Perhaps I wouldn't have had to change every one of my 'header' statements that i did in b2login, but I didn't check.
Comments:
Comments are closed for this post.