Αρχή :: Ενότητες :: Scripting :: Απαντήσεις     
 

Forum

Send XML value - Από {Aseos}

Mia erotisi pls sxetika me XML

Stelnw ena xml se mia apomakrismeni dieythinsh alla epidi den to stelnw me form den mporo na to steilo me mia metabliti mazi

paradigma:
strXML = "Kostas"

GotothisURL = "http://www.url.com"

Set GetConnection = CreateObject("Microsoft.XMLHTTP")

GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.ContentType = "text/xml"
GetConnection.Send strXML

ResponsePage = GetConnection.responseText

Set GetConnection = Nothing

1. Pws mporo na stilo me to GetConnection.Send kai mia "hidden" metabliti me name="status" kai value="open" xwris na xrisimopoihsw "Post form".
Pws mporo diladi na to oriso na feygei mazi me to xml ayth h metabliti me ton parapanw kodika???

Eyxaristw

 


Απάντηση από:Alex

Αποθήκευσε τα πάντα σε ένα session και στείλε το XML με τα session.

Απάντηση από:Aseos

Dwse moy se parakalw ena paradeigma...

Απάντηση από:Aseos

Alex ok to brika:
kanw

GetConnection.setRequestHeader "CONTENT_TYPE", "application/x-www-form-urlencoded"
GetConnection.send "data=" & strXML & "&status=open"

kai doyleyei kanonika.
Eyxaristw gia to xrono soy.



tip: Unlimited Profesional ASP.NET 4.0 Hosting.+ MSSQL με 2,30 € το μήνα * F5 για νέο tip

   Πίσω στην προηγούμενη σελίδα






Η Εταιρία | Web Hosting | Domain names | Web Information | Υπηρεσίες | Resellers | Υποστήριξη |
Copyright © 2007–09 4GR.NETWORKS, All rights reserved.