REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
PHP Forum
You are currently viewing our PHP Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
how to submit xml
Link Back
Thread Tools
Search this Thread
how to submit xml
06-12-2007, 10:38 PM
#
1
(
permalink
)
how to submit xml
shotokan99
Skilled Talker
Posts: 70
Name: rex
Trades:
0
Talkupation:
is there a way to submit an xml document/file on real time without using pear or curl? can you pls an example on how to do this?
tnx
Register
now for full access!
06-12-2007, 11:05 PM
#
2
(
permalink
)
Re: how to submit xml
mgraphic
Truth Seeker
Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades:
0
Talkupation:
Using PHP SOAP extention (you need to have php compiled with this extention)
http://devzone.zend.com/node/view/id/689
http://www.w3schools.com/soap/default.asp
__________________
<
mgraphic
/>
- I don't have a solution but I admire the problem.
06-13-2007, 05:26 AM
#
3
(
permalink
)
Re: how to submit xml
shotokan99
Skilled Talker
Posts: 70
Name: rex
Trades:
0
Talkupation:
previously i did it this way:
<?php
$xml='<?xml
.
.
.
<enddoc>';
$dest='
https://mydestination.com';
require_once 'http/request.php';
$req = &new HTTP_Request($dest);
$req->setMethod(HTTP_REQUEST_METHOD_POST);
$req->addRawPostData($xml);
$req->sendRequest();
echo nl2br(htmlentities($xml));echo "<p> </p>";
echo nl2br(htmlentities($req->getResponseBody()));
?>
...the issue is our hosting co doesnt support pear. now is their
another workaround for this issue?
« Reply to
how to submit xml
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
how to submit xml
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.37817
seconds with
12
queries