RE: opening php file error

php is a server-side language like asp or cold fusion. it's not made to be
used directly by a browser. if you have a server with php capabilities, then
any browser can handle it assuming the output html is correct.

-----Original Message-----
From: www-amaya-request@w3.org [mailto:www-amaya-request@w3.org]On
Behalf Of Richard Davis
Sent: Tuesday, August 06, 2002 8:07 PM
To: 'www-amaya@w3.org'
Subject: opening php file error






I having trouble with Amaya. I have looked at the lists and FAQ and my
question is not quite answered there (as far as I can tell).

We use a combination of HTML and PHP pages on our website. We want to know
whether we can edit *.php files with Amaya. When I try to open them I get a
message which reads: "Not Well-Formed XML document - Reload as HTML or show
Parsing errors?" If I load as HTML then my php coding is stripped out. If I
show errors then I cannot see anything in the WYSIWYG window, but can edit
the code. Do I have errors in my php files, which if corrected would enable
me to open them in Amaya, or can't it handle PHP yet?

Richard Davis
Communications Advisor and Webmaster
Presbyterian Church of Aotearoa New Zealand
PO Box 9049, Wellington, Aotearoa New Zealand
Phone: +64-4-381 8285  Fax: +64-4-801 6001
http://www.presbyterian.org.nz/

Received on Wednesday, 7 August 2002 09:54:29 UTC