Re: tcpsend
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38454
interpreted = N
texte = This is something that always comes up and someone (SM) should document it!!!!!Here is a working copy that I use:[!]******************************************[/!][!]* Stuff a long string variable *[/!][!]******************************************[/!][text]FormVariables=variable1=[x]&variable2=[y][/text][!]******************************************[/!][!]* LineFeed only for mac text file *[/!][!]******************************************[/!][text]LF=[unURL]%0A[/unURL][/text][!]******************************************[/!][!]* Send it off and display the results *[/!][!]******************************************[/!][text Show=F]Response=[!][/!][Middle StartAfter=&EndBefore=][tcpconnect host=www.domain.com &port=80][TCPsend]POST /somepage.tpl HTTP/1.0[LF]Host: www.myhost.com[LF]Referer: http://www.foo.net[LF]User-Agent: Mozilla/4.5 (Macintosh; I; PPC)[LF]Content-type: application/x-www-form-urlencoded[LF]Content-length: [countchars][FormVariables][/countchars][LF][LF][FormVariables][LF][/TCPSend][LF][/tcpconnect][/Middle][/text][!]******************************************[/!][!]* END *[/!][!]******************************************[/!]Hope this helps .... good luckMarc KaiwiArturo Vargas wrote:> I tried to figure out this by myself, and I think I was getting an idea by> looking at the archives, but they keep going down.>> I need to send some variables using tcpconnect:>> if the page was on my server I would just send it on a link> http:www.domain.com/test.tpl?variable1=[header1]&variable2=[header2]>> to do the same using tcpconnect I think I would do something like this:> [tcpconnect host=www.domain.com &port=80]> [TCPsend]POST /test.tpl?variable1=[header1]&variable2=[header2]> HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL]> [/TCPSend]> [/tcpconnect]>> is this right?>> ART-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
This is something that always comes up and someone (SM) should document it!!!!!Here is a working copy that I use:[!]******************************************[/!][!]* Stuff a long string variable *[/!][!]******************************************[/!][text]FormVariables=variable1=[x]&variable2=[y][/text][!]******************************************[/!][!]* LineFeed only for mac text file *[/!][!]******************************************[/!][text]LF=[unurl]%0A[/unURL][/text][!]******************************************[/!][!]* Send it off and display the results *[/!][!]******************************************[/!][text Show=F]Response=[!][/!][Middle StartAfter=&EndBefore=][tcpconnect host=www.domain.com &port=80][tcpsend]POST /somepage.tpl HTTP/1.0[LF]Host: www.myhost.com[LF]Referer: http://www.foo.net[LF]User-Agent: Mozilla/4.5 (Macintosh; I; PPC)[LF]Content-type: application/x-www-form-urlencoded[LF]Content-length: [countchars][formvariables][/countchars][LF][LF][formvariables][LF][/TCPSend][LF][/tcpconnect][/Middle][/text][!]******************************************[/!][!]* END *[/!][!]******************************************[/!]Hope this helps .... good luckMarc KaiwiArturo Vargas wrote:> I tried to figure out this by myself, and I think I was getting an idea by> looking at the archives, but they keep going down.>> I need to send some variables using tcpconnect:>> if the page was on my server I would just send it on a link> http:www.domain.com/test.tpl?variable1=[header1]&variable2=[header2]>> to do the same using tcpconnect I think I would do something like this:> [tcpconnect host=www.domain.com &port=80]> [tcpsend]POST /test.tpl?variable1=[header1]&variable2=[header2]> HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL]> [/TCPSend]> [/tcpconnect]>> is this right?>> ART-------------------------------------------------------------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://search.smithmicro.com/
Marc Kaiwi
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:
formula.db problem (1999)
Possible Macv2.1b2 Merge Bug (1997)
F3 crashing server (1997)
Which [index]? (1997)
multiple selected Checkboxes (1998)
WebCat2 beta 11 - new prefs ... (1997)
WCS Newbie question (1997)
Sorry WebDNA server not running ????? (2002)
RE: [taxRate] [TaxTotal] ? (1997)
[WebDNA] [OT] Free Windows FTP client recommendations (2009)
Quickie question on the email templates (1997)
RE: Dates! (1998)
[shownext max=?] armed (1997)
Strange intermittent WebDNA problems (2008)
[WebDNA] Yosemite (2015)
Triggers Gone Wild! (2006)
_ in front of field name (1998)
Help with Shipping Costs (1997)
[SearchString] problem with [search] context (1997)
RE: AccountAuthorizer doesn't seem to work (1997)