Archive for December, 2003

PHP Sessions: HEaders Already Sent Solution

Wednesday, December 24th, 2003

One for the PHP peeps:

If your using sessions and keep getting an error about how the headers cannot be sent because they have already been sent this usually occurs because the session_start() function was called after you started printing to the user’s browser (i.e. a print / echo call or straight HTML). Simply make <? session_start(); ?> as the first thing in your code (i.e. the very first line) and it’s all good.

23/December/2003

Tuesday, December 23rd, 2003

Want to alter the default error pages displayed by IE ?

Download Resource Hacker (http://www.users.on.net/johnson/resourcehacker/) and open %SystemRoot%\system32\shdoclc.dll. In the resource fork (i.e. the folder in the tree view) marked “23″, all the HTML source for the various IE error messages is contained. Simply replace the HTTP_404.HTM resource code with your own source.

Nice eh :)

15/December/2003

Monday, December 15th, 2003

Heh, go to Google and search for ‘Weapons of Mass Destruction’ and click “I’m Feeling Lucky”. Funny :)

14/December/2003

Sunday, December 14th, 2003

Music I’ve heard where Rizzla rolling papers have been mentioned -

Cypress Hill - Highlife
Ratpack - Slammin Vinyl Absolute Old Skool Classics (don’t know the actual track)

‘Tis a conspiracy to make us all buy rolling papers I tell you…

13/December/2003

Saturday, December 13th, 2003

Added a new service that allows quick searching of multiple engines, although theres probabaly not as much benefit to people who access the page over the net but still :)

It’s in services > online search.

Windows: Fixboot

Tuesday, December 9th, 2003

By the way, just putting up an entry that should have been put up last week but I couldn’t because the site wasnt online:

If you have a Windows NT based system (NT 4/2000/XP/2003) and you lose your boot record yeah, “lose” it does happen in windows :) you can fix it by booting off the 2000/XP/2003 CD (your NT CD may not be bootable), entering the manual rescue mode, and typing “fixboot”. This will restore your boot record from a previous backup.
Thats gotta be one of the smartest things Microsoft ever did…NT makes a backup of the boot record every time it changes and successfully boots…

06/December/2003

Saturday, December 6th, 2003

Ok, the new site is coming along well, though the guestbook still looks pretty funky because of color clashes and a lot of the site is still just broken links but hey you can’t have it all can you :)

I just put the news entry system online, so this is the first news entry of the new site.

It will go live on my webspace before the end of my holidays (end of Feb), but what is on the webspace will not be as updated as what is on my home machine because of synchronisation issues and because they don’t give me all the facilities that my site requires…oh well.

Looks better than the old one though eh?