why won't this TCPConnect/Send work?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60531
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:
The List is Changing (1997)
Database Structure? (1998)
where to put code (1998)
Pithy questions on webcommerce & siteedit (1997)
When to use [convertchars] ?!?!? (2000)
Physical Proximity searches (2000)
Strange database format import (2000)
need to delete a database remotely (2000)
Multiple cart additions (1997)
Can't use old cart file (was One more try) (1997)
WebCommerce: Folder organization ? (1997)
[OT] Search Engine Tips (2003)
NetSplat and WebCat2 (1997)
Progress !! WAS: Trouble with formula.db (1997)
[shell] (2002)
SIMS setup (1998)
Re:2nd WebCatalog2 Feature Request (1996)
taxTotal, too (1997)
A dynamic database. (1997)
carriage returns in data (1997)