Thank you very much, that’s exactly what I needed.
But help! I’ve looked at how they implemented stripslashes, but I can’t make heads or tails of the situation.
Do I use the stripslashes command on my requested variables, such as:
$tname = $REQUEST["tname"] ;
$temail = $REQUEST["temail"] ;
$yname = $REQUEST["yname"] ;
$yemail = $REQUEST["yemail"] ;
$greeting = $REQUEST["greeting"] ;
$message = $REQUEST["message"] ;
$close = $REQUEST["close"] ;
$image = $REQUEST["image"] ;
$background = $REQUEST["background"] ;
$fonts = $REQUEST["fonts"] ;
$fontc = $_REQUEST["fontc"] ;
For example, the $message command would be a field that needs to be stripslashed.
Would I do something like:
$message = $_REQUEST["message"] ;
echo stripslashes($message);
And then each time I use $message in the script it would be stripslashed?
Or would I use stripslashes later in the script, not when they’re being requested, but when they are being used?
$body .= "$message";
echo stripslashes($message);
or
$body .= "$message";
echo stripslashes($body);
My PHP script in its entirety is at http://www.shopkanji.com/card_script.php
Again, thanks for help so far received, and thanks for any help in the future that anybody can provide with this.