OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

POSTING To remote webite UPDATED!!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> POSTING To remote webite UPDATED!!
Page: [1]
 
helensnow

 

Posts: 232
Joined: 12/18/2003
Status: offline

 
POSTING To remote webite UPDATED!! - 4/20/2009 17:21:43   
Hi

There is a form on a remote website that accepts form data. Here is the HTML from the form

<form target="_blank" action='http://www.XXXZZZ.com/affiliate/upload/leadsupload.asmx/UploadLead' method="POST">

It`s collects from the HTML form and does A SIMPLE FORM POST

I am sending data automaticaly from a customer form and I get a SOAP error.

SAME DATA being sent to the SAME Target URL just using a different method, one is by the form which works and one is using remote POST which does not work. Any insights, someone said i should use GET not POST to send the data, but I am not sure how to do that,



Function PostTo(XMLinformation, URL)
    Dim objXMLHTTP, xml
    Dim dataRS
    On Error Resume Next
       
    Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0")
    xmlhttp.Open "POST", url, false	
    xmlhttp.setRequestHeader "Content-Type", "text/xml" 

    DataRs = xmlhttp.readyState 

    xmlhttp.send XMLinformation 

    If DataRs <> 4 then
      xmlhttp.waitForResponse 30
    End If

    PostTo = xmlhttp.responseText
    Set xmlhttp = Nothing

End Function


many thanks for your help
Helen

< Message edited by helensnow -- 4/20/2009 17:48:06 >


_____________________________

Love is all, and all that we are is love
Joey

 

Posts: 187
Joined: 5/15/2002
From:
Status: offline

 
RE: POSTING To remote webite UPDATED!! - 5/1/2009 18:17:26   
Could you post your form code?

(in reply to helensnow)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> POSTING To remote webite UPDATED!!
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts