PDA

View Full Version : PHP.urlencode


Dr Jeeni
01-17-2006, 10:03 AM
Hi guys..

I hope someone can help me with this issue ...

One of the text areas in a form that I am using is being encoded using

message=' + PHP.urlencode(frmobj.message.value)


on a php file I was able to decoded by using this line

$message3=urldecode(addslashes(convert_urlencoded_ unicode($message)));


when I echo $messag3 from the php file i see the plain text

but when I email $messag3 using mail function I get it encoded like this

هني



How can I solve this problem and be able to read a plain text on my email.