News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ben Ramsey's Blog:
Flickr Namespace and array_multisort() Issues
December 18, 2006 @ 11:33:00

Ben Ramsey has posted a (quick) new items over on his blog that looks at solving two problems he was having with his blog - the now non-functional Flickr feed and a sorting problem with array_multisort.

I recently upgraded a few things around here (in particular, an upgrade to PHP 5.2), and I noticed two issues that occurred after the upgrade. [...] I easily solved both of these issues.

The correction to the Flickr feed involved changing the namespace information for his request (adding a trailing slash) because the SimpleXML functionality got a bit more particular about the format.

The problem with array_multisort involved adding in a parameter that was implied in previous PHP versions, SORT_STRING, to get his code correctly working.

2 comments voice your opinion now!
flickr namespace simplexml arraymultisort feed blogroll flickr namespace simplexml arraymultisort feed blogroll


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: A Primer for PHP 5.3's New Language Features

PHPMaster.com: Consuming Feeds with SimplePie

Stefan Koopmanschap's Blog: Using custom namespaces with (C/S)ilex and Composer

CodingThis.com Blog: Quick XML-to-HTML Templating in PHP Using SimpleXML

Tim Koschuetzki's Blog: Parsing XML With The DOM Library


Community Events





Don't see your event here?
Let us know!


install refactor community series release code interview developer testing symfony2 language api podcast opinion framework introduction laravel threedevsandamaybe unittest list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework