Tiffany B. Brown

A web log about web development and internet culture with frequent detours into other stuff.

Posts tagged: PHP

Atlanta, GA: PHP Atlanta “Join-Fu: The Art of SQL”
Jay Pipes of MySQL AB and co-author of Pro MySQL, comes to Atlanta this month to present “Join-Fu: The Art of SQL.” I’ve seen Pipes speak before, and his presentation was incredibly informative. If you do a lot of development with MySQL, you should definitely attend. Event details When: Thursday, August 7, 2008 from 7 p.m. [...] [18 Jul 2008]
Atlanta, GA: php|works and PyWorks
Marco Tabini & Associates, publishers of PHP Architect and Python Magazine are bringing their php|works conference back to Atlanta this fall, November 12th through 14th, 2008. This year, though, the conference has an added bonus: PyWorks, a conference devoted to Python. Registering for one conference allows you to attend both. Both conferences have an open [...] [18 Jul 2008]
Debugging tip: “Disallowed Key Character” error in CodeIgniter
After 6 hours of massive anxiety, stress, near tears, one pound on my desk, and some hair pulling, I tracked down the source of a nagging Disallowed Key Character error that I received while using CodeIgniter: an extra line break. The line feed (LF) and carriage return (CR) characters (and their hex code equivalents (%0D and [...] [6 May 2008]
Turn text files into pull down menus
UPDATE: This could also be done with the foreach() construct, but here — on my set-up at least — the for loop is a teensy bit faster. I developed this PHP function for a project I’m working on. I’m posting it here in case I need it again, or in case you find it handy. #Input text [...] [26 Feb 2008]
Damn … my VPS is being cracked
UPDATE: What appears to have happened … Yeah, as I type this, I’m getting hit with an attack. I’m not precisely sure of the motive. I just know that there are two directories on my server that should not be there and the attack appears to be coming through a specific URL. It’s been happening for [...] [7 Nov 2007]
Review: Learning PHP Data Objects by Dennis Popel
Packt Publishing graciously provided me with a copy of this book to review. PHP supports more than a dozen database setups, including the SQLite library bundled with PHP 5. That’s a lot of databases, and each one has its own connection syntax and server-specific functions. So what happens when you want to be able to [...] [23 Oct 2007]
Solution for “Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’” error when using PDO
If you’re trying to get up-and-running with PDO, you may experience a “Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’” error when trying to connect to your database, even if your php.ini and my.cnf files contain a different default socket path for MySQL. It’s counterintuitive to a degree, but it’s actually expected behavior. The good [...] [22 Oct 2007]