Page 1 of 1

GeSHI problem

Posted: Fri 11. Jun 2010, 12:08
by dimer24
Hello

it is my second try, i did the same in the German phpwcms Support Deutsch but i did not se my Thema.
Sorry when I make a problem with this.

My Problem how can Higlightening mi Cod with GsSHI.

When is go to the
http://www.nierhaus.ch/Test.php
Then the code will be fine.

The Code in the Test.php file is

Code: Select all

<?php
include_once ('include/geshi/geshi.php');

$source = '$foo = 45;
for ( $i = 1; $i < $foo; $i++ ){
  echo "$foo\n";  --$foo;
}';

$language = 'php';
$geshi = new GeSHi($source, $language);
echo $geshi->parse_code();

?>
Wath must i Do that I can show Highlightening Code.
I did try it in HTML Code an others.
It this a problem with the Editor?

Second Problem
Why cann I see mi Thema http://www.nierhaus.ch/


Thanks for your help

Dimer24

Re: GeSHI problem

Posted: Sat 12. Jun 2010, 05:24
by juergen
Hi there and welcone.

By Spam prevention each first post has to await confirmation by an admin.

Your account has non enabled php support now ! Thats the reason.