von paul |
subba klapt
|
von paul |
danke sehr, ich probiers gleich aus
|
von Andreas S |
Für die extra Slash's kannst du dich bei 'Magig Quotes' bedanken. 
Wenn du Zugriff auf die php.ini hast (was wahrscheinlich nicht der Fall ist) dann setze Magic Quotes auf 0.
Aber es geht auch mit .htaccess: Erstell eine .htaccess datei mit dem folgenden Inhalt;
1:
2: | php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off |
Und lade dann diese .htaccess Datei in dein Verzeichnis hoch. |
von paul |
nee, eigentlich meinte ich so:
wenn ich z.B. :
<texarea name="new_text" cols="*" rows="*">
<?php include ("datei.inc.php") ?>
</textarea>
okay. wenn ich jetzt in meinen "Admin Bereich" gehe, und in das textarea feld einen z.B. <font color="#ff6600">oranger text</font> schreibe, und das ganze dann per php in die "datei.inc.php" schrieben lasse, wird der text nicht orange und im quelltext steht dann <font color=////"#ff6600/////">oranger tex</font>...
Warum?
ich denke mal dass das das fwrite() macht oder so.
Danke im Voraus,
Paul
|
von einstein |
wo ist das problem?
einfach <textarea ..><?=stripslashes($varinhalt);?></textarea>...
(und sonst ging auch noch str_replace *g* ) |
|