Tiffany B. Brown

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

Posts in: PHP

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 access to the [...] [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 file [...] [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 loading’ and content [...] [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 compatibility is on, [...] [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 string [...] [27 Jul 2006]