Dale's Weblog

looking back it was easy.
Saturday 13 March

Finally! Eaten by a cookie or two.

Posted by mwdmeyer on Thu, 05 Aug 2004 23:51:05 EST

YAy. I’ve been working on a php script (just love this trial period, so much spare time! ;)), which I just got working. I’ve been writing a script that stores sessions (you know, php sessions? like what runs phpbb) into a database. The only problem was that when doing this you need to completely rewrite the session handling script. You can no longer use $_SESSION. But it’s finally done (sort of, need to work on a few small things). Current it’s about 80 lines of code (bit more than the one line you used with the $_SESSION function). My main problem was writing cookies, now stupid me forgot that you need to write cookies BEFORE you output anything to the browser. Why I didn’t remember this is beyond me, but I forgot. I would have just spent the last hour pulling my hair (or what is left of it) out over this. Argh. All over one echo statement. ARGHHHH. Anywho it’s fixed now. I am happy.

Oh and just incase you think I’ll COMPELTELY insane and inhuman I was in fact in the city for the WHOLE day and I didn’t need to check me email. Thank you every much. *thinks to self* I am in control of my internet use, I am….no really. :)

So bla!

Hey does anyone know how CVS works? I need it for a project (or job or something that involves more than one person coding).

AnywhO! Hope you enjoyed my little rant and remember, setcookie() works the same way as header() you can’t output to the browser (unless of course you turn buffering on, but that’s crap and IIS sucks).

When is mysql AB going to release a new version of MySQL Control Centre? This version is just soooo old.

Night Night :-)

EDIT: oh while I’m here. Terminate is doing a test run of "their"* shoutcast server tomorrow night at 9pm. I’m looking forward to this. Make sure you play something good! ;P

*their: really meaning one or its or something. Terminate really isn’t as large as the dalegroup corp**.

**when I say dalegroup corp I’m talking about dalegroup.com.

Oh god time to go to bed.

Below are the comments for this news item

Hehe Dale! Sounds like you had quite a fun day off ;). Yes, tonight is indeed the test run. Hopefully people will listen and further information will be up tonight.

1: Comment by S. - Fri, 06 Aug 2004 16:06:09 EST


BBCode:

urls become clickable

[b]place text in bold[/b]

[i]place text in italics[/i]

[quote]place text in a quote[/quote]

Comments? Please note that all HTML tags are removed from your post.

The URI to TrackBack this entry is: http://www.dalegroup.net//early05/archive/blog/newsid/trackback/67

Comments

Message:

Name (optional):

Email (not shown):

WWW (optional):






Copyright © Michael Dale 2004. Page generated in 0.0078 seconds FreeBSD Powered
Background on style 5 is used from squidfingers How are we going? 3 queries