Re: [PHP] XML & HTTP
From: Jason Barnett (jason.barnett_at_telesuite.com)
Date: 03/18/05
- Next message: Chris Shiflett: "Re: [PHP] XML & HTTP"
- Previous message: Steven Altsman: "RE: [PHP] Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL)"
- In reply to: Chris Shiflett: "Re: [PHP] XML & HTTP"
- Next in thread: Forest Liu: "Re: [PHP] XML & HTTP"
- Reply: Forest Liu: "Re: [PHP] XML & HTTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: php-general@lists.php.net Date: Fri, 18 Mar 2005 16:03:20 -0500
Chris Shiflett wrote:
> Jerry Swanson wrote:
>
>> I generated XML file. I need to send the file to another server not
>> through FTP but though HTTP.
>
>
> Yes, I gathered that, but you're not telling us how you're supposed to
> send it. For example, when Google first provided their web API, they
> didn't say, "just send us an XML document." :-)
>
> There are many details you're not giving us (you can leave out the
> details involving the XML document itself, of course), so it's pretty
> much impossible to even guess an answer to your question.
>
> Chris
>
Seriously... Chris is truly trying to help you. There are many, many
ways to send an XML file. The following are HTTP methods off of the top
of my head:
SOAP (possibly with WSDL)
Simple HTTP POST (usually through a form)
Simple HTTP GET (possibly through a form, though passing XML documents
through URL parameters is probably not "A Good Thing".)
It really depends on what the *receiving server* expects. Is there a
documented API? Or perhaps can you just point us to the page (URL) that
is supposed to receive the XML document?
-- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
- application/pgp-signature attachment: OpenPGP digital signature
- Next message: Chris Shiflett: "Re: [PHP] XML & HTTP"
- Previous message: Steven Altsman: "RE: [PHP] Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL)"
- In reply to: Chris Shiflett: "Re: [PHP] XML & HTTP"
- Next in thread: Forest Liu: "Re: [PHP] XML & HTTP"
- Reply: Forest Liu: "Re: [PHP] XML & HTTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|