In php.ini, you should have the line:
default_mimetype = "text/html"
just add default_charset = "utf-8" after it. (if you can't locate it, throw
it anywhere, it should work).

in httpd.conf you should have a long list of AddCharset directives, jsut add
the lines before or after them. (again if you can't find it, i think
anywhere is safe.. but NOT inside directives that are surrounded by tags:
HERE
 <XXXX>NOT HERE</XXXX>
OR HERE

Step 5 means that when you call the function mysql_connect to establish a
database connection, you do a db query:
mysql_query("set names utf8");
this sets a mysql environment variable which would make it talk utf8


On 3/7/07, Mai Abdel-Qader <[EMAIL PROTECTED]> wrote:
>
>
>
> First of all thanks alot for your help Al-Faisal, but i don't
> understand in any line of PHP configuration, i should add the lines of
> step 2, and in any line of Apache configuration, i should add the
> lines of step 1, or i can add them any where in the configuration,
> because i check my PHP and Apache configurations and i didn't find
> them, and i didn't understand step 5, could you explain it more.
>
> Ammar i promise you to send here our work as soon as we can, and we'll
> wait your opinion on them.
> On Mar 6, 11:42 pm, "Ammar Ibrahim" <[EMAIL PROTECTED]> wrote:
> > Indeed, you shouldn't wait for us. But that doesn't mean you can't share
> > your work. If you share the requirements and design we can help you a
> lot.
> > It would be great if you can post your work somewhere on the wiki. Or
> just
> > send it here.
> >
> > - Ammar
> >
> > On 3/7/07, rannoush85 <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > Ammar,
> > > what really happened that Alaa told us to start alone without waiting
> > > you to start the project with us and that what we did ... so we
> > > finished our requirement and design and have started designing our
> > > website.... but  we have no problem with you seeing our
> > > work....because you do have more experience than we do ... and Mai has
> > > let Alaa see our work...
> >
> > > Raneem
> >
> > > On Mar 7, 10:18 am, "Ammar Ibrahim" <[EMAIL PROTECTED]> wrote:
> > > > Raneem, I don't understand why you guys are keeping all the work for
> > > > yourself. This is an open source project, why aren't you sharing the
> > > work
> > > > with us. If you share the work with us, we would be able to help you
> > > better.
> >
> > > > - Ammar
> >
> > > > On 3/7/07, rannoush85 <[EMAIL PROTECTED]> wrote:
> >
> > > > > Hi all...
> > > > > This is Raneem from Mai's team at Jordan University....
> > > > > we faced a problem with the SQL we are working now on the search
> part
> > > > > and in the Insert sentences it is accepting the Arabic Language
> but in
> > > > > the output it is not!! only question marks instead of Arabic
> > > > > characters......so can anyone please help us making it identify or
> see
> > > > > the Arabic??
> >
> > > > > Thanks a lot for your help
> > > > > Best Wishes
> > > > > Raneem Shaheen- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
>
>
> >
>


-- 
Al-Faisal El-Dajani
Phone: +962-7-77 799 781
P.O Box: 140056
11814 Amman, Jordan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to