How to handle URLs
URL handling is one of the tasks you have to do from time to time in PHP. Sometimes you have to do it because you want to record the referral sites, other times because you want to write your own spider or just because you want to retrieve your current URL. PHP is a language developed around web for web developers and it contains all the functions you might need in your quests.
Related Tutorials
Shortening multiple URLs with jQuery and bit.lyIn this tutorial you will learn how to create a function that will automatically find all URLs in the text in a text area and replace them with shortened URLs by way of bit.ly
Creating friendly URLs with mod_rewrite
This programming tutorial will teach you how to build search engine friendly URLs in PHP, which contain keywords and use HTML extensions. We are going to use the htaccess file and mod_rewrite module running on an Apache server.
Php alternative to mod_rewrite for SE friendly URLs
Make search engine friendly urls using php instead of using mod_rewrite.
Dynamic URLS using php and mysql
To create dynamic URL with php and mysql is quite simple and this small tutorial will teach you how very easily. If you look at Chipmunk directory, board, or CMScore, you will find that they all use Dynamic URLs with PHP/Mysql.
How to Make SEO Friendly URLs Using mod_rewrite
In this tutorial we will be going over what mod_rewrite is, how you can use it, why its important to use and some links to other resources.
Opening Files in PHP
In this section we are going to cover how to open local files and remote files/urls for reading and writing.
PHP Snurk
Learn how to rewrite URLs with PHP Snurk.
Rewritten URLs with Unlimited Parameters
I recently added a function to my commercial PHP framework which allows unlimited parameters in a mod_rewrite rewritten URL, without having to add more lines to do so. In this tutorial I will explain to you how to create this function and use it.
Reading And Using Files
This tutorial/code shows how to read and handle files using PHP.
Developing a URL Handling Helper Class in PHP 5
In this third installment of a series on building helpers in PHP 5, I will provide you with the basic pointers for building a URL-handling helper class. The code examples, though simple, should serve to demonstrate how to create a helper that generates dynamic URLs.
