DeveloperTutorials.com: Effective Geotargeting with PHP
522240
The Developer Tutorials blog has a new article that talks about their method for creating simple geotargeting for your visitors.   In this tutorial, we'll take a look at the technique of geotargeting, or serving content to users based on their physical location. The technology is invaluable; with simple techniques, you can target advertising to specific users, collect more accurate usage statistics, serve content in different languages for different regions and provide local information like weather reports to your visitors.   They use the GeoIP services offered by Maxmind to perform the IP to location translation and the PEAR package already created to make the integration as painless as possible.
740094
In his travels as a PHP developer, Jamie Wong has gathered some helpful debugging tips that are shared in this latest post to his blog.   Here are some bugfixing rules and tips Iâve learned working all these years with PHP. I emphasize mostly on fixing bugs than preventing them, which is another subject worth of its own article. Iâve moved to Rails, but I wanted to finish this post as a farewell and thanks to every article and documentation that was useful to me. Hope this is useful to you too.   Topics covered include:  Assume nothing Turn Error Reporting to show all errors Read the error message Understand the bug "Scooby-Bug, where are you?" Get as much information as possible  Each has some explanation below it and, in some places, a bit of code to clarify the point.
647305
Popular posts from PHPDeveloper.org for the past week:Ian Selby's Blog: Uploading Large Files With PHPONLamp.com: Quick and Clean PHP FormsDotVoid.com: Reordering nested sets using PHP and JavascriptRob Allen's Blog: Zend Framework Book Coming SoonCommunity News: php|works Daily Summaries (Day 2)Community News: Sara Golemon & Christopher Jones - First Day Summaries of php|worksJob Posting: University of Wisconsin, Department of Medicine Seeks Web Developer (Madison, WI)Zend Developer Zone: PHP Abstract Podcast Episode 19: Glue Frameworks vs. Full Stack FrameworksStefan Mischook's Blog: Installing PHP and MySQL on the Mac with MAMPSecurityReason: Three Advisories for PHP 5.2.4 (dl, iconv_substr & setlocale)
575210
Popular posts from PHPDeveloper.org for the past week:PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort AlgorithmZend Developer Zone: PHP Abstract Podcast Episode 4: Planning ProgrammingWeb Development Blog: Save bandwidth with PHProxy and ip2nationJob Posting: Assembleron Ltd Seeks PHP 5/MySQL/Ajax Developers (Reading, UK)PÃ¡draic Brady's Blog: Complex Views with the Zend Framework - Part 6: Setting The TerminologyThe Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload ThumbnailsCommunity News: PEAR Installer version 1.6.0 releasedChristopher Kunz's Blog: Building PHP with cURL and libmysqlclient5DevShed: Working with Prepared Queries with PDO Objects in PHP 5Secunia.com: rPath update for gd, php, php-mysql, and php-pgsql
685152
Joshua Eichorn has posted some slides that he presented at a local PHP User Group meeting just passed that serve as an introduction to PEAR.   I'm hoping to improve the slides a bit and give this presentation at lots of other places. If any PHP User groups on the west coast would like me to do a presentation about PEAR drop my a line.   To help further the cause of PEAR, he's also offering the slides in an archived file for presentation anywhere.
449834
Sebastian Bergmann has posted the results of some benchmarking on the compilation he's done on the branches of PHP from version 3.0 all the way up to 5.3-CVS.   As people keep asking me for an update to my previous benchmarks (PHP / GCC / ICC Benchmark, PHP 5.1 / GCC Benchmark (Update), and PHP 5.1 Performance, I quickly ran a new benchmark today.   He rendered the results out into a series of charts defining the number of total seconds taken for the compile and how long each of the components took. It's impressive to see how much of a jump there was between the 3.0 series and 4.3.   He also includes his compile settings (and machine information) as well as the numbers for the results if you'd like to graph them out yourself.
561879
PHPClasses.org has reviewed a new book today - "Professional Search Engine Optimization with PHP" from Wrox Publishing by Jaimie Sirovich and Cristian Darie.    This is a topic about which there is a lot to say, starting from the Google page rank algorithm, and what to do, as well what you should not do, to have your sites optimized to attract as many visitors as possible using search engine sites.   That is precisely the main topic of the book "Professional Search Engine Optimization with PHP". Despite the title mentions PHP, most of the knowledge presented in this book applies to all kinds of sites, independently if they are served by PHP code or not.    Manuel notes that the "PHP part" mostly has to do with the creation of dynamic sites and working with current PHP applications (like WordPress) to make them more search engine friendly.   Overall, this is an excellent book search engine optimization - SEO. It is very complete. [...] Whether or not you are familiar with the subject, if you are looking for good a book to learn all you need to know about SEO, this may be an excellent choice.
673968
On the Zend Developer Zone, they point out a handy little image manipulation class they've come across - GenXDesign's PHP Thumbnail Class - as well as some details about it.    I've seen a lot of implementations of thumb nail functionality in PHP, I've even written a couple of my own. I like this class thought. In looking over the code the first thing you notice is that it's clean code. I don't mean they use the latest whiz-bang method to cshave a few keystrokes.    This code is simple, nicely formatted and easy to read through. My only real problem with the code itself is that it is not terribly well documented. That can be forgiven since easy to read.    Cal talks about some of the other features of the class, including that it works with gif/jpeg/png images, makes it easy to set the quality of the jpgs, and makes it easy to display the dynamic images directly to the browser. Check out the demo for more.
326653
Determining geographic locations based on Internet IP offers localization services and brings together user communities without the need for GPS receivers or complicated configuration switching.
416901
Aaron Wormus has a new note on his blog today about his presentation at this year's Zend/PHP Conference & Expo and another speaker he's excited to hear.    One of the Zend conference sessions that I'm pretty excited about is Don Samisa Abeysinghe's (of WSO2) "Fully Fletched Web Services with PHP".   I'll be presenting a session on "Moving to PHP5 with Style." This tutorial/case study will be based on experience in transitioning several codebases from PHP4 to PHP5, creating unit tests & started a move towards a service based architecture without a complete platform rewrite.    Aaron's talk fits under the banner of the "PHP Development" talks, including others on topics like hosting PHP applications on Windows, working with PDO, unicoding in PHP6, and using PHPUnit.
392378
Popular posts from PHPDeveloper.org for the past week:PHP.net: PHP 4 end of life announcementZend Developer Zone: Book Review: Professional Search Engine Optimization with PHPStoyan Stefanov's Blog: phpBB front-end optimization - 1 hour workshopSitePoint PHP Blog: Win Cash for the best Facebook App!Elizabeth Naramore's Blog: July Edition of IPM PublishedJob Posting: ManicMelon.com Seeks Mid-Senior LAMP Web Application Developer (Overland Park, KS)Paul Jones' Blog: Solar Views and LayoutsCodeIgniter Blog: Version 1.5.4 ReleasedPHP-GTK Community Site: MkDevDVD (DVD Manager for Linux)Job Posting: Next Internet Seeks Senior Software Engineer (San Francisco, CA)
295577
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: Fundamentals of PHP SuperglobalsGareth Heyes' Blog: Regular expression challengeAnyExample.com: Downloading files from Amazon S3Travis Swicegood's Blog: PHPT: A teaser...Nessa's Blog: Using PHP to Display Version Info (I and II)Laura Thomson's Blog: On Open Source: PHP Video PodcastSitePoint PHP Blog: Dynamic global functions in PHPJosh Sharp's Blog: Why you should be using a frameworkDerick Rethans' Blog: XDebug 2.0.1Tobias Schlitt's Blog: At IPC2k7: WebDAV will come over you...
363205
Manually tagging things is a pain and, if one doesn't have obvious geographical features in the photo, it may be hard to locate them exactly on a map. So--how about marrying GPS data to the photos? It's a sound idea, it's doable, but it requires a slightl
633181
Gareth Heyes has a new post today talking about one of the vulnerable values in the $_SERVER superglobal - PHP_SELF.   I thought it might be a good idea to gather a few test cases demonstrating the problem. Why PHP allows these URL's is beyond me and it wouldn't take much work to filter out these malicious URL's in the PHP code.   He provides four test cases to show how simple it is to abuse - one using a HTTP header, another pushing XSS through, the third mentions search pages and the fourth a direct code injection.   You can download the code here.
391083
Latest PHPClasses.org Releases:GPS Coordinates DistancePHP Yahoo Messenger Archive DecoderIdealMySQL ClassCalculadora EsconsMath GuardAudio StreamerNumber SequenceAnimated CAPTCHAGoogle Total Results
13585
The Zend Developer Zone has posted their latest episode of the PHP Abstract podcast hosted by Cal Evans himself covering ways you can attract quality talent to your organization.   Along the way I've picked up a few truths, mainly stolen from people like Joel Spolsky. Some of these ideas can be found in an article I wrote a while ago titled "Nerd Herding", a link to which can be found in the show notes. Recently, I've had many people ask me variations of the same question, "How do I find talented programmers?" So today, I'm going to share with you some of the things I've learned.   The latest show is available for direct download or, as always, you can subscribe to their feed to get this and lots of other great shows.
562776
A different sort of abstraction layer project has been started up and has already seen a few releases - Forage. As mentioned on Rob Young's blog:    Recently I've been working on a search abstraction library for PHP called Forage. The idea is to bring to search what we've had for relational databases for quite a while, abstraction.    On Friday I put up a preview release with three backends; Solr, Xapian and Zend Search Lucene. At the moment it has the bare minimum of features but there will be more soon. In this post I'm going to talk a little about the motivation for the project and then walk through a short example.    He talks about the need for search abstraction (integration and resilience to change) before getting into an example of some code that grabs the data from an RSS feed, passes it in to the Xapian search engine and stores it before looking it over for thier search terms ("yahoo microsoft").   You can download the library if you'd like to try it out for yourself.