Curlin in Classic form
473879
OCEANPORT, N.J. - The apex of the 2007 thoroughbred season crested at the top of Monmouth Park's stretch yesterday when the continent's most talented 3-year-olds - Street Sense, Hard Spun, and Curlin - all soared into the final 2 furlongs of the $5 million Breeders' Cup Classic.
755679
Latest PHPClasses.org Releases:ffmpegThe Login ClassContact formFormat FileConteg Content NegotiationE-mail FormQuick Non DB MySQL AlternativeSimple MySQL DB ClassAuto completesite administrator tool setGMapBuilderFTPeasyEasy TemplateBlogger Integration
634435
Andrei Zmievski has posted something new to his blog today about a feature of PHP6 that's finally been hammered down - HTTP input (request) decoding.   There have been no fewer than 4 different proposals floated before, but this one combines flexibility, performance, intuitiveness, and minimal architectural changes, and has only a couple of small drawbacks. Let's take a closer look.   He details the functionality - what it is, what's been decided on, and the advantages of the method. The basic approach is a "lazy" one where PHP will only store the request when it comes in, no filtering or anything, until you want to do something with it (i.e. get it via $_GET, $_POST, etc). When the request for data is made, PHP looks at the encoding settings and formats the data accordingly.   Advantages he mentions for this method include removing the guess-work on PHP's part for which encoding the request is and that it removes some of the overhead by not processing the data until it's actually needed.
48914
Sean Coates has created a simple version of a popular bit of Perl functionality and shares the code in hi slatest post - the "pie" ability to perform a search and replace, line by line, through a file using a regular expression.   I've often found myself looking for a PHP equivalent. Not to do simple substitutions, of course, but complex ones. And since I'm most comfortable with PHP, and a I have a huge library of snippets that I can dig out to quell a problem that I may have solved years ago, I've been meaning to fill this void for a while.   So, one evening, he came home and hashed out this version of the script. He includes the code in the post...it works on the command line and pulls in a file (though STDIN) and loops through the buffered version to perform the regex replace.
366947
Lukas Smith is sending a wakeup call to the internet providers and web hosters out there - get involved in the PHP community!   We do not seem to have any ISP's active inside the PHP community. This is kind of odd, considering that PHP seems to be driving the business of hosters quite a bit. Why have none of them decided that PHP is important enough for their business that its worthwhile to ensure that their interests are taken into account?   He makes the suggestion of passing along the suggestion to bosses/co-workers/anyone who'll listen about getting involved. Suggested places to start would be as a part of the testers group or even contributing to the migration guide.
321583
Latest PHPClasses.org Releases:NodeezMySQLList content of directoryPablosky MySQLRImageManipulatorMySQL PaginationHTTP LocaleMySQL DB Class with  Data Manipulation Class TimeTaMeREasy PHP ValidationFiltreatmentImage to ASCII textKDoubleMetaphoneGeo Conversion
576307
If you're using FlickrFan, you should have a copy of podcatcher.root in your Tool folder. If not now, at the top of the next hour (launch the OPML app so it can do the update). I want to get started with a small group of people, develop features, and then figure out how to broaden it, if that turns out to be the right thing to do. For now, I just want a testbed to develop, and a group of interested users. I've put together a brief cheat sheet for FlickrFan users. http://codecasting.org/podcatcher/00001.html  If you have a question please post it there and we'll try to get you the answer. Hope it works, and hope you like it.
489113
Perl script that automatically searches for new episodes of your favorite TV shows and downloads the corresponding NZB files from various free sources on the internet.   This release is mostly just to update the .shows file and the README.  I was sleepy, and I stupidly said that you do not have to have the  element in your shows file.  Turns out I'm just an idiot, and you do.  I have updated the .shows file to include the proper template for most shows, which is %name%.S%season%E%episode%  Sorry about that!  I also started a code optimization run which will hopefully over time make things run faster and more efficiently.  I just picked off the low hanging fruit on this release, because I wanted to get the updated README out before too many people had problems.
221274
Paul Jones gives readers a quick overview of two of the components in the Solar framework in a new post to his blog today - the Solar_Http_Request class and it's opposite, the Solar_Http_Response class.   As I noted in an earlier post, Solar how has classes to represent simple HTTP requests and responses.   The Solar_Http_Request functionality is only for making requests, but uses adapters to make it easier to swap out the connection method later on - plus it's fluent. He includes an example of it in action, calling a remote page with a GET, POST and a customized request (including special headers)   The other side of the equation, Solar_Http_Response allows you to set all of the response information manually (again, fluently) to make custom responses simple.
703914
On his blog, Stuart Herbert has a quick tip showing how to mimic a feature of Ruby on Rails:   I'm still working on the next article in my series looking at PHP on servers, so in the mean time, check out this simple way to emulate Ruby's nice way of handling separate getter, setter and state query methods in PHP.   He admits his example isn't as elegant as the Ruby method, but it does get the job done. Code for the method is included in his post ready for cut and pasting.
647262
In a new post to his blog today, Mike Potter talks about the WebORB for PHP software and a new feature based on Adobe technology - a Flex-based console.   [It] includes a service browser, as well as a number of useful examples, showing both the client side code (in Flex) and server side code in PHP. The getting started guide (again, built into the console or available on the web) provides a good tutorial for creating your first WebORB powered application.   He likes the project overall, but notes a small issue he has with starting a new project - a prompt to use the Flex Data Services. Overall, though, he has high hopes for the future of the project.
732440
The International PHP Magazine has posted results from their latest PHP community poll as voted on by visitors to their site. The question for this poll asked developers what they thought, of the choices on the list, was the most common mistake that PHP developers make.   Coming in at number one by an overwhelming lead was "Not escaping entities and SQL input" (a definite problem indeed) with the next highest option, "Not using a Framework" a full twenty percent lower. The next two options were closer (descending) - "Using old PHP versions" and "No or little use of Object Orientation".   There's a new poll this week for your consideration - this time asking which stage, of the five options, should come first in the development cycle of a typical content management system. Head on over and cast your vote today!
284359
Here's an interesting Howto on connecting FlickrFan to the Mac desktop. I love this stuff.  Here's a movie that demonstrates this coolest of hacks.
525207
On his blog today, Stoyan Stefanov has a howto posted on a trick he figured out to get a PHP script to grab data from multiple resources at one time - with cURL.   The basic idea of a Web 2.0-style "mashup" is that you consume data from several services, often from different providers and combine them in interesting ways. This means you often need to do more than one HTTP request to a service or services. [...] Using the curl_multi* family of cURL functions you can make those requests simultaneously. This way your app is as slow as the slowest request, as opposed to the sum of all requests. And that's something.   He includes example code that loops through a given array of resources and executes the fetch, brining the results back into a result array. To illustrate, he also includes two types of examples of fetching content - one for GET and another for POST.
511099
BEVERLY HILLS, Calif., Jan. 21 -- Breeders' Cup Classic winner Curlin swept Horse of the Year and 3-year-old male honors at the 37th annual Eclipse Awards on Monday night.
221371
When finding he was in need of a parser and lexer, Wez Furlong decided to work up one that was PHP-based and a take off of the popular lemon parser and JLex lexer.   From time to time, I find that I need to put a parser together. Most of the time I find that I need to do this in C for performance, but other times I just want something convenient, like PHP, and have been out of luck.   His result is two new packages - lemon-php and JLexPHP (under a BSDish license) you can download and compile on your own system.   Also, if you'll remember a while back, Greg Beaver had wanted something similar (as mentioned in the comments) and created his own lexer/generator as well.
193363
In a recent post Brian Moon points out an advancement in something he's very excited about - the MySQL native driver for PHP.   I have been excited about the MySQL native drive (mysqlnd) since I first heard about it.  They are looking for testers now.   Brian also includes comments about the fact that the driver was originally intended for use in PHP6 and how some people have been talking about a back-port to PHP4 for those still hanging on.   Check out this post from Lukas Smith on the same subject with a bit more information on what the driver is and what it could mean for the PHP community as a whole.