News Feed
Sections




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

DevShed:
Developing a URL Handling Helper Class in PHP 5
August 03, 2009 @ 11:03:38

DevShed has continued their series looking at helper classes in PHP5 applications with this new tutorial about building a URL class to help with parsing and manipulation.

Since it's a common practice to build helpers that manipulate URLs in different ways, in the next few lines I'm going to show you how to create a class whose main task will be dynamically generating URLs via a basic API.

Their URL helper class lets you find things like the page being calls, fetching the query data and getting the method that the page was requested as (like GET or POST).

0 comments voice your opinion now!
url helper class tutorial


blog comments powered by Disqus

Similar Posts

The Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload Thumbnails

Sameer Borate's Blog: Building a simple Parser and Lexer in PHP

Rob Allen's Blog: Module specific bootstrapping in ZF2

PHPMaster.com: Reusing Implementation - a Walk-through of Inheritance, Composition, and Delegation

Pear-Code-Authors.com: Installation of a local PEAR copy on a shared host


Community Events





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


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

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