Calling php script.
Posted: Mon Jul 14, 2008 1:32 pm
Hello
I', having some difficulty callling a php script. The calling code seems to go OK, but it fails with a bad fetch in the called php script.
<filled>
You entered <value expr="idx"/>.
Get ready, you are going on a trip!
<submit next="xmlgetp.php"
method = "get"
namelist = "idx"/>
</filled>
xmlgetp.php text...
<?xml version="1.0"?>
<vxml version="2.1">
<var name="full_name" expr="bananas"/>
<form id="test_form">
<block>
Hello <value expr="full_name"/>, nice to meet you!
</block>
</form>
</vxml>
the error is
DocumentParser::FetchDocument - Parse error in file "xmlgetp.php", line 1, column 4 - Unknown element 'br'
errno: 205 uri xmlgetp.php
...there is no "br" this comes from some hidden parser I think?
The calling seems very delicate, for example the method = "GET" causes a problem right away, it seems it has to be lower case.
I'm inclined to think that I'm approaching this from a wrong direction, but I'm planning to have many small routines to return items mostly from a MySQL database through php.
Thank you for your help.
John
I', having some difficulty callling a php script. The calling code seems to go OK, but it fails with a bad fetch in the called php script.
<filled>
You entered <value expr="idx"/>.
Get ready, you are going on a trip!
<submit next="xmlgetp.php"
method = "get"
namelist = "idx"/>
</filled>
xmlgetp.php text...
<?xml version="1.0"?>
<vxml version="2.1">
<var name="full_name" expr="bananas"/>
<form id="test_form">
<block>
Hello <value expr="full_name"/>, nice to meet you!
</block>
</form>
</vxml>
the error is
DocumentParser::FetchDocument - Parse error in file "xmlgetp.php", line 1, column 4 - Unknown element 'br'
errno: 205 uri xmlgetp.php
...there is no "br" this comes from some hidden parser I think?
The calling seems very delicate, for example the method = "GET" causes a problem right away, it seems it has to be lower case.
I'm inclined to think that I'm approaching this from a wrong direction, but I'm planning to have many small routines to return items mostly from a MySQL database through php.
Thank you for your help.
John