For the paste script, I have used the Opensource package Stikked , Since is really easy to implement and to maintain.
The installation of the package was nothing more that creating a Mysql database + User and importing a Mysql file. After that, i only had to change some parameters in the config file to let the package talk to Mysql.
There are some bugs with the URI.php Url Rewrite/Possible Char system. We've fixxed this as follows
Changed the config.php file with this line :
<syntaxhighlight lang="php">$config['permitted_uri_chars'] = 'a-z0-9\~\%\.\:\_\-'; </syntaxhighlight> And change "system/libraries/URI.php:189" to
<syntaxhighlight lang="php">if ( ! preg_match("|^[".$this->config->item('permitted_uri_chars')."]+$|i", $str))</syntaxhighlight>
This fix was supplied by Micha from the Stikked project userbase. This user mentioned "Since PHP 5.3 preg_quote also escapes "-" which breaks <syntaxhighlight lang="php">"$config['permitted_uri_chars']"</syntaxhighlight> See bug #47229."
After this, the above fix was created, en seeming to work!