why won't this TCPConnect/Send work?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60614
interpreted = N
texte = IF you go here: http://oprs.co.monmouth.nj.us/Oprs/taxboard/HeadFrame.aspx?idx=modyou'll see a form inside a frame. I took the elements of the form and created a TCPconnect/send combo that is supposed to mimic a browser submitting the filled in form. The code is below. What I get back from the server is not the page I expect. Any thoughts?
in GetBlock
[!] ---------- Define Host and Page ---------- [/!][text show=f]host=tax1.co.monmouth.nj.us[/text][text show=f]page=/cgi-bin/prc6.cgi[/text][text show=f]crlf=[UnURL]%0D%0A[/UnURL][/text][!][text show=f&secure=f]transid=EV[/text][text show=f&secure=f]p_des=[/text][text show=f&secure=f]p_cust_id=[/text][text show=f&secure=f]p_invoicenum=[/text][/!][text show=f]post_data=menu=srch&[!][/!]srch_type=1&[!][/!]selcount=1301&[!][/!]district=1304&[!][/!]p_loc=[url]1210 second ave[/url][!][/!]adv=1&[!][/!]out_type=1&[/text][!]
postdata=[post_data]
[/!][!] ---------- Run The Connect ---------- [/!][text show=f]response=[TCPConnect host=[host]&port=80&SSL=F][TCPSend]POST [page] HTTP/1.1[crlf][!][/!]Host: [host]:80[crlf][!][/!]Referer: oprs.co.monmouth.nj.us[crlf][!][/!]Content-length: [countchars][post_data][/countchars][crlf][crlf][!][/!][post_data][crlf][!][/!][UnURL]%0D%0A%0D%0A[/unurl][/TCPSend][/TCPConnect][/text]
response=[response]
-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
IF you go here: http://oprs.co.monmouth.nj.us/Oprs/taxboard/HeadFrame.aspx?idx=modyou'll see a form inside a frame. I took the elements of the form and created a TCPconnect/send combo that is supposed to mimic a browser submitting the filled in form. The code is below. What I get back from the server is not the page I expect. Any thoughts?
in GetBlock
[!] ---------- Define Host and Page ---------- [/!][text show=f]host=tax1.co.monmouth.nj.us[/text][text show=f]page=/cgi-bin/prc6.cgi[/text][text show=f]crlf=[unurl]%0D%0A[/UnURL][/text][!][text show=f&secure=f]transid=EV[/text][text show=f&secure=f]p_des=[/text][text show=f&secure=f]p_cust_id=[/text][text show=f&secure=f]p_invoicenum=[/text][/!][text show=f]post_data=menu=srch&[!][/!]srch_type=1&[!][/!]selcount=1301&[!][/!]district=1304&[!][/!]p_loc=[url]1210 second ave[/url][!][/!]adv=1&[!][/!]out_type=1&[/text][!]
postdata=[post_data]
[/!][!] ---------- Run The Connect ---------- [/!][text show=f]response=[TCPConnect host=[host]&port=80&SSL=F][tcpsend]POST [page] HTTP/1.1[crlf][!][/!]Host: [host]:80[crlf][!][/!]Referer: oprs.co.monmouth.nj.us[crlf][!][/!]Content-length: [countchars][post_data][/countchars][crlf][crlf][!][/!][post_data][crlf][!][/!][unurl]%0D%0A%0D%0A[/unurl][/TCPSend][/TCPConnect][/text]
response=[response]
-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Joe D'Andrea
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Size issues (2001)
default value from Lookup (1997)
Ampersand (1997)
Summing fields (1997)
More on the email templates (1997)
Need some extra eyes (2003)
Associative lookup style? (1997)
[WebDNA] Hmmm ... (2008)
Protect (1997)
Sort Order on a page search (1997)
Serving images from databases (1998)
Passing Username and Password on the command line (2000)
need help with [sendmail] and [showif]s (1998)
Bad Install... (2003)
Record size (1998)
using showpage and showcart commands (1996)
Copyright ? (1997)
Just testing (2003)
Two prices in shoppingcart? (1997)
Email notification to one of multiple vendors ? (1997)