aMule Forum
English => en_Bugs => Topic started by: Frunktz on November 20, 2009, 03:04:05 PM
-
Hi!
I try to put a very simple function that is sure implemented in amuleweb-PHP (split) and the webserver loop infinitly
$link = "test123|qwerew|vmcblcvm|string122"
$tmp = split("|", $link, 2); <= I've tried to change 2 with 1 or 999 but the problem is the same..
echo $tmp[1]."<br>";
Why?? How is the correct use of that function?
-
- The function is indeed implemented in amuleweb
- You need to escape the | symbol
These links may or may not be helpful :)
http://wiki.amule.org/index.php/AMuleWeb_PHP (http://wiki.amule.org/index.php/AMuleWeb_PHP)
http://www.php.net/manual/en/function.split.php (http://www.php.net/manual/en/function.split.php)
-
... and the webserver loop infinitly
Looks buggy in any case. I'll check this case.
-
Anyway, you should be writing [|] as split pattern