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:
sandbox is hogging 99% cpu cycles (2004)
OS and/or browser problems? (2002)
Stupid question (2003)
Location of Browser Info.txt file (1997)
emailer truncates last letter! (1997)
RE: Checkboxes to add to cart... (1998)
Just testing (2003)
[date format] w/in sendmail (1997)
Authenticate (1997)
Mac GUI editors (1997)
t or f (1997)
$Replace with [founditems] (1997)
using showpage and showcart commands (1996)
Links inside of Text Areas (2000)
OSX 10.2.6/iTools 7.0/WebDNA 5.0 installation (2003)
High ASCII inside [LOOKUP] inside [LISTWORDS] (1998)
FW: Information Regarding Recent Payment Gateway SystemDifficult (2002)
Date Time Oddness (1999)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
RE: [WebDNA] WebDNA not running after 10.6.3 update (2010)