Php

Handling 18.5 Janets of Web Traffic

The Drudge Retort was hammered yesterday, serving 10 gigabytes of traffic as thousands of people looked for exit polls and early election returns. The unit of measurement for traffic here is Janet Jackson's right breast, the exposure of which maxed out the shared SDSL connection on my old server. For seventeen straight hours, it served 144 kilobytes per second of traffic (1 Janet) to people on a fruitless search for celebrity mammary. Since that time, I have moved to dedicated server hosting ... (read more)

Using Your Header in UltraEdit

Since I began using UltraEdit as a programming text editor recently, I lost the ability to call the header() function in PHP. Every time I tried it in a script, the following error happened: "Cannot modify header information - headers already sent."This error happens whenever a script produces output before header() is called. When obvious causes for this problem have been ruled out, you must look for anything that might output a blank line or other characters.In my case, UltraEdit put three ... (read more)

Turning Off the Radio

Because I wrote the book on Radio UserLand, my decision to stop using the software on Workbench has raised a few eyebrows.By tradition, the first thing a weblogger must do with new software is publish a vicious excoriation of the old software, warning others to keep away, like a courageous relief worker marking a land mine.Textbook example: When Mark Pilgrim concluded that a Movable Type licensing change would have cost him $535, he declared the software a dead end, switched to WordPress, and ... (read more)

The Bench is Back

This entry represents the culmonation of several weeks of work moving Workbench from Radio UserLand to software that I am writing for myself on a LAMP platform (Linux, Apache, MySQL, and PHP).This has been an eventful month. I was the first person to evacuate Florida for Hurricane Frances, taking my family all the way to Northern Virginia almost two full days before it made landfall. My excessive caution was rewarded by a drive home through South Carolina as the storm hit that state, spawning ... (read more)