On Jul 13, 2007, at 5:39 PM, Malcolm Fitzgerald wrote:
I've got to send XML via POST to a proprietary database. The db
will reply with XML. I'm guessing that this can all be done with
PHP to
build the forms and receive the data. The two basic jobs are to wrap
the data up as XML and send it, then to get it back, unpack it and
make
it HTML. I'm used to working with Perl and running everything on the
one server. Any good pointers for working with PHP/XML? and
suggestions
for handling the forms the user sends. I imagine that the form targets
a PHP or CGI on our server, which passes the query to the db and then
builds pages with the results.
So your data flow looks like this?
HTML form -> PHP -> XML -> database -> XML -> PHP -> HTML output
If at all possible, I highly recommend using PHP 5 for this. PHP's
XML handling is much better in 5 than 4.
Peace,
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden