Login   Register  
PHP Classes
elePHPant
Icontem

Relink

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Benjamin Falk  >  Relink  >  Download .tar.gz .zip  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Relink
Base name: relink
Description: Rewrite URLs based on mod_rewrite configuration
Related classes: , , , , , , ,
Version: 0.1
PHP version: 3
License: GNU General Public License (GPL)
All time users: 1644 users
All time rank: 2023
Week users: 2 users
Week rank: 1632
 

  Author  
Picture of Benjamin Falk
Name: Benjamin Falk <e-mail contact>
Packages: 3 Browse all classes by Benjamin Falk Browse all classes by
Country: Austria Austria - PHP jobs in Austria
Age: 22
All time rank: 104111 in Austria Austria
Week rank: 982 Up7 in Austria Austria Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description  
This class can be used to rewrite link URLs according to mod_rewrite configuration directives.

It reads an Apache configuration file to find mod_rewrite configuration directives within delimited file sections.

The class can take URLs of relative links and rewrite them based on the mod_rewrite rules found in the Apache configuration file.

  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Configuration Configuration formats parsing and generation View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
September 2008
Number 6

Prize: One book of choice by O'Reilly
mod_rewrite is an Apache server module that converts the URLs used to access to a site to URLs of a different format using regular expressions.

mod_rewrite is often used to make a site use friendly URLs for pages that are easier to read by the users.

However, if you have a regular URL and need to go back the friendly URL, usually the site code must know the URL rewriting rules.

This class provides a different solution that allows a site to automatically determine the URLs of a page before being rewritten. It reads Apache configuration files and reverts the mod_rewrite rules applied to a site relative URL.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Trackback links  
Link Description
O unealta utila Am gasit pe phpclasses o clasa foarte interesanta, scrisa de un tanar austriac, care si-a botezat copilasul ‘Relink’...
tutorial rewrite url dengan relink classes dari Benjamin Falk Bagaimana mengimplementasikan url rewrite rules untuk suatu situs yang memberikan opsi enable dan disable dalam menggunakan url rewrite rules...
[php class review] Relink - Rewrite URLs based on mod_rewrite configuration I have an email subscription to phpclasses email newsletter, and read it to see what new classes have been added to the site...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file class.relink.php Class Contains the class itself
Accessible without login Plain text file DOC Doc. A short documentation
Accessible without login Plain text file example.php Example An example script, using the class
Accessible without login Plain text file htaccess-example Example An example htaccess

Download all files: relink.tar.gz relink.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.