Is there a library that .... |
[eluser]cahva[/eluser]
There is an easy way to get GeSHi working right away. First add autoloading(PHP5 feature) as described here. Basically you only need to add that __autoload function to your config.php. Then download geshi from the site, and copy geshi.php and geshi folder to application/libraries. Rename geshi.php to GeSHi.php (thats the name of the class and autoload will find it also in *NIX systems which are case sensitive). Then you're ready to go. Test it: Code: <?php For the bbcode, you can look into this basic function to parse bbcode tags: http://www.php.net/manual/en/function.bb....php#93349 Create a helper of that function so you can use it anywhere you like. |
Messages In This Thread |
Is there a library that .... - by El Forum - 04-09-2010, 12:16 AM
Is there a library that .... - by El Forum - 04-09-2010, 02:47 AM
Is there a library that .... - by El Forum - 04-09-2010, 03:17 AM
Is there a library that .... - by El Forum - 04-09-2010, 03:35 AM
Is there a library that .... - by El Forum - 04-09-2010, 04:05 AM
Is there a library that .... - by El Forum - 04-09-2010, 04:34 AM
Is there a library that .... - by El Forum - 04-09-2010, 06:36 AM
Is there a library that .... - by El Forum - 04-09-2010, 06:42 AM
Is there a library that .... - by El Forum - 04-09-2010, 07:59 AM
Is there a library that .... - by El Forum - 04-09-2010, 08:26 AM
Is there a library that .... - by El Forum - 04-09-2010, 08:27 AM
Is there a library that .... - by El Forum - 04-09-2010, 11:28 AM
Is there a library that .... - by El Forum - 04-09-2010, 09:24 PM
Is there a library that .... - by El Forum - 04-10-2010, 03:57 AM
Is there a library that .... - by El Forum - 04-10-2010, 10:07 AM
|