Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Coding Talk
>
PHP Forum
>
how to submit xml
Link Back
Thread Tools
how to submit xml
06-12-2007, 11:38 PM
#
1
(
permalink
)
how to submit xml
shotokan99
Skilled Talker
Posts: 70
Name: rex
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
When You
Register
, These Ads Go Away!
06-13-2007, 12:05 AM
#
2
(
permalink
)
Re: how to submit xml
mgraphic
Truth Seeker
Latest Blog Post:
Converting Video For YouTube
Posts: 2,339
Name: Keith Marshall
Location: West Hartford, CT
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, 06:26 AM
#
3
(
permalink
)
Re: how to submit xml
shotokan99
Skilled Talker
Posts: 70
Name: rex
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
Webmaster-Talk.com
>
Coding Talk
>
PHP Forum
>
how to submit xml
Thread Tools
Show Printable Version
Email this Page
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
|
Text Link Brokers
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
Page generated in
5.23318
seconds with
12
queries