Hallo Powl.
ich glaube ich verstehe etwas nicht. Wenn die Postdaten mittels stripslashes "bearbeitet" werden, wird dann aus \r\n nicht automatisch
rn?
Das wäre dann doch harmlos, oder?
Gut, ist möglich. Ich habe weder addslashes noch stripslashes bisher jemals gebraucht.
Wieso müßte man dann noch wie Du es machst alle einzeiligen input's auf \r\n prüfen?
Könnte man nicht auch mittels preg- oder string replace "\r\nBCC" durch "" ersetzen und gut ist's?
Viele Wege führen nach Rom. Ich habe mich für den beschriebenen entschieden.
Außerdem, bei Eingabe eines BCC in eine Textarea- damit könnte man nicht spammen? Wieso nicht?
Einen schönen Samstag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]