hi,

ive just written a simple form to mail in PHP (the form is in a flash website). the problem is that the text being put into the fields in the form, is all in Hebrew. would anyone know how to tackle this problem ? i get the text all in jibrish...

thanx a lot,

dor88keys.

Can you post the code of the form? Did you need support for other languages?

im attaching a txt file with my PHP script in it,

thanx so much for your quick reply,

dor88keys.

Attachments
<?php
$sendTo = "dor88keys@walla.com";
$subject = "email from dorittamir.co.il";

$hname = hebrevc($name);
$hphone= hebrevc($phone);
$hcell = hebrevc($cell);
$hcomments= hebrevc($comments);

$h1name = stripslashes($hname);
$h1phone= stripslashes($hphone);
$h1cell= stripslashes($hcell);
$h1comments= stripslashes($hcomments)

$headers = "messege from: $h1name \r\n phone number: $h1phone \r\n cell number: $h1cell \r\n email: $email \r\n";

mail($sendTo, $subject, $h1comments, $headers);
?>


(in the html document, im using char-set of "utf-8")

Hi there...

I got the same prob.. I used a simple form for email but the text typed in HEBREW language comes as garbitch :sad:

anyone have any idea how to fix it ?


Thanks in advance

Hi there...

I got the same prob.. I used a simple form for email but the text typed in HEBREW language comes as garbitch :sad:

anyone have any idea how to fix it ?


Thanks in advance

there are some problems with hebrew and .inc files.

my scripts worked after ive changed the files extentions to .html

also, im not working in utf-8 charset but rather in windows-1255.

let me know if you need further help.

dor88keys/

This article has been dead for over six months. Start a new discussion instead.