LOGiN PANeL

«    December 2026    »
MoTuWeThFrSaSu
 123456
78910111213
14151617181920
21222324252627
28293031 
PoLL





eBooks Tutorials Templates Plugins Scripts Applications GFX Collections SCRiPTMAFiA.ORG
LaST oN NULLeD.org
Unholy Night (2026) 1080p WEBRip 5 1 YTS Unholy Night 2026 1080p WEBRip x264 AAC5 1-[YTS] The film centers on Gino, whose traditional Italian family Christmas ...
Serato DJ Pro Suite 5.2.0 macOS File Size: 1 GB Professional DJ software - From the unknown to the greatest, Serato DJ Pro is the most popular DJ ...
Street Fighter (2026) PROPER 1080p WEB h264-EDITH Street Fighter 2026 PROPER 1080p WEB h264-EDITH In 1993, estranged Street Fighters Ryu and Ken Masters are thrown back ...

RSS
RSS

FRiENDS
Nulled.org Software 8TM URL Shortener Forex Trading Crypto Trading




CodeCanyon - Mod Rewriter

Category: Plugins/Modules


CodeCanyon - Mod Rewriter


These days every website, big or small uses mod rewrite to get nice looking urls like www.test.com/news/ instead of www.test.com?page=news.

Link Updated For:
http://scriptmafia.org/modules/60573-codecanyon-mod-rewriter.html


If you use CMS systems like Wordpress or Drupal it’s very easy. You can just enable this opion and your ready. But if your are writing you own applications or websites it’s an whole other story. In these cases you need to get dirty with htaccess and stuff, and as you might know, that’s not a fun thing to do. With this class the needed htaccess is automaticly generated by an install script. The rest of the rewriting is done by defining the needed url’s in php.

Features

Define routes in an ini file or in your PHP script
Use different url extensions (php, html, trailing slash, no trailing slash)
Easy integration
Retrieve url parameters with variable names
Install script to generate htaccess

How to use

Below you find a small example of how to use this script. In the zip is an extended help file with more information. This is just to show you how easy it is to use this script.

include("Routing.php");
$routes['news'] = "news";
$routes['news-item'] = "news/\$item";
$routes['profile'] = "profile";
$Info = ModRewriter::Route($routes);


Retrieve the first parameter of an url. For example we open this url www.test.com/news/:

echo $Info->Get(0);


This will echo news.

Retrieve a named parameter when for example the url www.test.com/news/45/ is called:

echo $Info->Get("item");


This will echo 45.

Download



   
   
   


Forex Trading

Crypto Trading. 20 USD Bonus after KYC









 

Information

 
  Users of GUESTS are not allowed to comment this publication.