On Sat, 14 Jul 2007 09:13:06 -0600
Scott Reynen <email@hidden> wrote:
> 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
That's it in a nutshell. Thanks for the pointer to snoopy.
>
> If at all possible, I highly recommend using PHP 5 for this. PHP's
> XML handling is much better in 5 than 4.
>
> PHP 4 parsing info is here:
>
> http://php.net/xml
>
> For generating XML, the simplest method is just to build XML as text.
>
> PHP 5 XML parsing and generating info is here:
>
> http://php.net/dom
>
> For POSTing data, I recommend Snoopy:
>
> http://sourceforge.net/projects/snoopy/
>
> 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
>
> This email sent to email@hidden
_______________________________________________
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
This email sent to email@hidden