PDA

View Full Version : reading a text file generated by php


aramos
04-19-2006, 12:05 PM
I am trying to make APMS read a text file generated by php but i am getting this

㔲㘲㜹㜊㔳

but if i open it via the explorer i can perfeclty see the content of the file..

can someone tell me whyu this is happening? is tere any special way i should make the php create the txt file so AMS can read it?

Mina
04-19-2006, 01:36 PM
The explorer has an auto character encoding detector (Western, Unicode, Arabic, Chinese, East Asian, etc.)

aramos
04-19-2006, 02:20 PM
so how can i make PHP write into a te4xt file so AMS can read it?

Corey
04-19-2006, 02:30 PM
AFAIK plain text files are plain text files. The source doesn't matter nor does the destination. It's just a simple text file which contains only text. Anyhow that's my impression. You can easily create plain text files using PHP, here's a link which might help you:

http://paggard.com/projects/txt.generator/

:)