I am seeing the input for this scenario, where in server 1 a virtual data from another server in a new window Without opening, you are using activeX and serverside scripting
How can we do it? Thank you
I'm not completely sure that I fully understand this question, You can post Python's urlib or urllib2 module: $ urlib2 opener = urllib2.build_opener (MultipartPostHandler) opts = {'field_name' = value, 'another_field_name' = another_value,} header = {'user-agent': 'Mozilla / 5.0 (Windows; U; Windows NT 5.0; N-GB; RV: 1.8.1.12) Gecho / 20080201 Firefox / 2.0.0.12,' Accept ':' Text / XML, Application / XML, Applications / x Html + xml, text / html; q = 0.9, text / plain; q = 0.8, image / png, * / *; q = 0.5 ',' accept-language ':' n-gb, n; Q = 0.5 ',' Acceptable-charset ':' ISO-8859-1, UTF-8; Q = 0.7, *; Q = 0.7 ',' Connection ':' Keep-alive '} Request = urllib2.Request (url, opts, header) response = opener.open (req) # This line is well to post anything on a website You can see the document for urlib and urllib2 here:
Comments
Post a Comment