hab mir heute den eDonkey mod von sica eingebaut aber bekomme leider die folgende fehlermeldung:
Code: Alles auswählen
Parse error: parse error, unexpected '$' in /www/htdocs/v072598/phpBB2/includes/bbcode.php on line 739
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/viewtopic.php on line 555
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/includes/page_header.php on line 511
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/includes/page_header.php on line 513
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v072598/phpBB2/includes/bbcode.php:739) in /www/htdocs/v072598/phpBB2/includes/page_header.php on line 514
Code: Alles auswählen
// matches an email@domain type address at the start of a line, or after a space.
// Note: Only the followed chars are valid; alphanums, "-", "_" and or ".".
$ret = preg_replace("#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);
// make the file links clickable - eDonkey MOD
$ret = preg_replace("#([\n ])(ed2k://\|file\|(.*)\|\d+\|\w+\|/?)#", '$1ed2k: <a href="$2">$</a>", $ret);
// make the server links clickable - eDonkey MOD
$ret = preg_replace("#([\n ])(ed2k:(//)?\|server\|([\d\.]+)\|(\d+)\|/?)#", '$1ed2k: <a href="$2">$4 at $5 </a>', $ret);
// Remove our padding..
$ret = substr($ret, 1);
return($ret);
}
/**
* Nathan Codding - Feb 6, 2001
* Reverses the effects of make_clickable(), for use in editpost.
* - Does not distinguish between "www.xxxx.yyyy" and "http://aaaa.bbbb" type URLs.
Bedanke mich im voraus für eure hilfe!!
Mfg Az