To : FrozNic
check your php.ini setting.
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On
if magic_quotes_gpc is on the it means that the $GET['whatever'],
$POST['whatever'] and $_COOKIE['whatever'] are automatically slash.
so simple way is by example.
fileA.php
<form method="post" action="fileB.php">
<textarea cols="20" rows="20" name="t1"></textarea>
<input type="submit">
</form>
fileB.php
<?php
echo '<textarea cols="20" rows="20">';
echo $_POST['t1'];
echo '</textarea>';
echo '<textarea cols="20" rows="20">';
echo stripslashes($_POST['t1']);
echo '</textarea>';
?>
hopefully, you get what i mean...
From,
Jimson Chang
Life is a preparation to our God in the final end.