Tiffany B. Brown

a mish-mosh of stuff

Posts in: PHP

Links for October 9, 2006
Heh, you may see this as October 10 in your readers. That’s because I never know what date it is … unless it’s payday . Some stuff I missed from last week, and a few tidbits from this morning. IE7 Is Coming This Month…Are you Ready? Unless you’re using some serious CSS ninjitsu, you’re ready. [...] [9 Oct 2006]
Atlanta, GA: Atlanta PHP September Meeting
Topic: “Object-oriented programming – Part 2” by Eric Stewart. Wondering “What the hell are encapsulation, inheritance, abstraction, and polymorphism?” You need to be here. Event details When: Thursday, September 7, 2006, 7 – 9 p.m. Where: Consulate General of Canada, 1175 Peachtree Street NE, 100 Colony Square, Suite 1700, Atlanta (See the concierge desk for [...] [30 Aug 2006]
PHP Quickie: More on is_numeric vs. ctype_digit
UPDATE: Apparently there is a difference in the value of ctype_digit(”) depending on your version of PHP. The example below held true for my 5.0.3 install. But when I tested this with PHP 5.1.4, I received the expected result. Both an empty string and a null value return false. Has anyone else noticed this ctype_digit [...] [17 Aug 2006]
Two Mysqli problems and their easy fixes
Having problems with Mysqli? Try doing these (which may or may not help you). If you’re on a shared host, you may have to talk to your hosting provider, or you may want to get a web host that offers VPS or dedicated server hosting. Set zend.ze1_compatibility_mode = Off. You’ll need access to your php.ini [...] [11 Aug 2006]
Link dump: August 8, 2006
Yahoo! Python Developer Center Yahoo adds snakes on an API (Via Jeremy Zawodny, and as you can see, I jacked his post title.) MySQL Connection Management in PHP – How (Not) To Do Things How to best use MySQL connections when developing with PHP. (Hint, only make the connection when necessary.) This post covers ‘lazy [...] [8 Aug 2006]
Link dump: Aug. 7, 2006
State of the Blogosphere, August 2006 Dave Sifry releases his update on the ‘blogosphere.’ One trend worth noting: folks are goofing off at work. According to this report, English-language posting occurs between 10 a.m. and 2 p.m. with an additional ‘about to get off work’ spike at 5 p.m. Zend compatibility and mysqli If Zend [...] [7 Aug 2006]
PHP quickie: is_numeric() versus ctype_digit()
In PHP, there are two easy ways to determine whether a particular string is numerical is_numeric() and ctype_digit(). The difference is subtle, but important one. Which function you use depends on the condition for which you’re testing. is_numeric tests whether the string in question is a number. ctype_digit(), on the other hand, tests whether the [...] [27 Jul 2006]
PHP in Washington, D.C.
2006 DC PHP Conference Begins: Wed, 18 Oct 2006 at 9:00 AM Ends: Fri, 20 Oct 2006 at 6:00 PM Location: L’Enfant Plaza Hotel 480 L’Enfant Plaza, SW Washington, D.C. 20024 United States Registration fee: Before July 19: $795; After July 19: $895; Onsite; $995 Last date for registration: Wed, 18 Oct 2006 Last date for paper submission: Fri, 07 Jul 2006 Organizer: Robyn Wyrick Link: DC PHP Conference Web site A three-day conference in America’s capital city. Projected conference session tracks include: Integrating PHP with the Federal Operations and the Enterprise Security & Accountability The Art of PHP The Business Case for PHP Presented by DC PHP Developers group. [21 Jun 2006]
NYPHP Con: “Introduction to PDO”
PDO ships with PHP 5.1. You do not need to install via PECL These are my notes from a presentation by Ilia Alshanetsky. This post may contain inaccuracies, typos, boo-boos, etc. PDO stands for “PHP Data Objects Layer”: A data-access abstraction layer. Common interface for any number of database systems PHP extension Designed to simplify [...] [16 Jun 2006]
WordPress Plug-in: Tiffany’s Simple Technorati Tags
Easily add Technorati tags to your blog posts using a Custom Field key. For each post, enter a key named ‘technoratitags’ (and yes, it must be named ‘technoratitags,’ although you can change this value in the code if you wish). In the ‘value’ field, enter a comma-separated list of tags (and yes, it must be [...] [12 Jun 2006]