$qpos=strpos($threadtext,"[quote]") liefert mir immer 0 als Ergebnis. Egal wie oft [quote] tatsächlich vorkommt.
Äh ja, die Häufigkeit des Vorkommens spielt auch überhaupt keine Rolle, sondern nur wo der gesuchte String steht.
Folgende Strings werden 0 ergeben:
[quote]foo
[quote][quote]foo[quote]bar
[quote]foo[quote]bar[quote]
Folgende Strings werden 1 ergeben:
.[quote]
o[quote]
Wie das beim escapen ist führe ich jetzt nicht aus (bzw. weiß ich auch gar nicht sooo genau).
Vielleicht ist dir nicht klar was strpos macht.
--
sh:( fo:| ch:? rl:( br:& n4:& ie:{ mo:} va:) de:µ_de:] zu:) fl:( ss:| ls:[ js:(
sh:( fo:| ch:? rl:( br:& n4:& ie:{ mo:} va:) de:µ_de:] zu:) fl:( ss:| ls:[ js:(