Hi...I am trying to write a test html/php app that accepts some POSTed XML data and replies with (for now) an echo of the $_POST array. Here is my index.htm..
[CODE=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>XML POST Test v1.0</title>
</head>
<body>
<form id="Form1" action="POST" method="post.ph p">
<!-- Input elements will be put here -->
</form>
This is the POST test index.htm page...
</body>
</html>[/CODE]
...and my post.php..
[CODE=php]<?php
echo '<result>'
echo $_POST;
echo '</result>'
?>[/CODE]
The problem is that post.php is not being called after I call the IdHttp.Post(... ) method in my external app...I am just getting a dump of the index.htm as a reply.
I probably have some fundemental misunderstandin g of how POST is handled...i was assuming that any POST-ed data trigger a call to post.php, but it does seem to work that way...
Any idea appreciated!
- mark
[CODE=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>XML POST Test v1.0</title>
</head>
<body>
<form id="Form1" action="POST" method="post.ph p">
<!-- Input elements will be put here -->
</form>
This is the POST test index.htm page...
</body>
</html>[/CODE]
...and my post.php..
[CODE=php]<?php
echo '<result>'
echo $_POST;
echo '</result>'
?>[/CODE]
The problem is that post.php is not being called after I call the IdHttp.Post(... ) method in my external app...I am just getting a dump of the index.htm as a reply.
I probably have some fundemental misunderstandin g of how POST is handled...i was assuming that any POST-ed data trigger a call to post.php, but it does seem to work that way...
Any idea appreciated!
- mark
Comment