ich habe heute den php bbcode installiert.
jetzt zeigt er aber im post nur z.B. das an
[php:1:9f0741ced5]<?php
phpinfo();
?>[/php:1:9f0741ced5]
kann mir jemand sagen, wo der fehler lieget.
danke tobi-webnet
[php:1:9f0741ced5]<?php
phpinfo();
?>[/php:1:9f0741ced5]
Code: Alles auswählen
$text = str_replace( "[php:1:$uid]", "[php:1:$uid]<?", $text);
$text = str_replace( "[/php:1:$uid]", "?>[/php:1:$uid]", $text);
}
else if ( !eregi( "\\<\\?...", $text) )
{
$text = str_replace( "[php:1:$uid]", "[php:1:$uid]<?", $text);
}
else if ( !eregi( "\\?\\>", $text) )
{
$text = str_replace( "[/php:1:$uid]", "?>[/php:1:$uid]", $text);
Code: Alles auswählen
$text = str_replace( "[php:$uid]", "[php:$uid]<?", $text);
$text = str_replace( "[/php:$uid]", "?>[/php:$uid]", $text);
}
else if ( !eregi( "\\<\\?...", $text) )
{
$text = str_replace( "[php:$uid]", "[php:$uid]<?", $text);
}
else if ( !eregi( "\\?\\>", $text) )
{
$text = str_replace( "[/php:$uid]", "?>[/php:$uid]", $text);
Hachja...Kannst mal einen Link zum Mod [...] posten?