Re: TCP Connect/send and CGI
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54667
interpreted = N
texte = This will do the trick for you ..Need to emove the header info though ..[text]the_variables=3DFFX=3D2&obj=3D10&xxy=3D2003&xxm=3D3&xxd=3D4&xxi=3D10=&place=3D&xx0=3D=20-1&xx1=3D118&xx2=3D14&yy0=3D1&yy1=3D34&yy2=3D03&zz1=3D8&zz0=3D-1&ZZZ=3DEND=[/text][TCPConnect host=3Daa.usno.navy.mil&port=3D80][tcpsend][!][/!]POST /cgi-bin/aa_altazw HTTP/1.1[crlf][!][/!]Referer: http:/[thisURL][crlf][!][/!]Host: www.payment.co.nz[crlf][!][/!]Content-Type: application/x-www-form-urlencoded[crlf][!][/!]Content-length: [countchars][the_variables][/countchars][crlf][!][/!][crlf][!][/!][the_variables][crlf][!][/!][/tcpsend][/TCPConnect]AlainOn 05/12/2003, at 8:19 AM, Matthew A Perosi wrote:> Okay I'm looking over notes and trying to figure out why this is not =20=> working. =A0This is what I came up with...>> [TCPConnect host=3Daa.usno.navy.mil]> [TCPSend]POST /cgi-bin/aa_altazw HTTP/1.0[UnURL]%0D%0A[/UnURL][!]> [/!]FFX=3D2&obj=3D10&xxy=3D2003&xxm=3D3&xxd=3D4&[!]> [/!]xxi=3D10&place=3D&xx0=3D-1&xx1=3D118&xx2=3D14&yy0=3D1&[!]> [/!]yy1=3D34&yy2=3D03&zz1=3D8&zz0=3D-1&ZZZ=3DEND[UnURL]%0D%0A%0D%0A[/UnU=RL][/=20> TCPSend]> [/TCPConnect]> I'm just using the [!] [!] =A0tags to illuminate the linefeeds here in ==20> email. =A0You could put it as a single line, or you could keep the [!] ==20> tags.> I've used similar code to the above for myself, so this should work.>> Also what version of WebCat are you running?>> Matt Perosi>>>> -code> [TCPConnect host=3Daa.usno.navy.mil/cgi-bin/aa_altazw]> [TCPSend]POST /> FFX=3D2&obj=3D10&xxy=3D2003&xxm=3D3&xxd=3D4&xxi=3D10&place=3D&xx0=3D> -1&xx1=3D118&xx2=3D14&yy0=3D1&> =yy1=3D34&yy2=3D03&zz1=3D8&zz0=3D-1&ZZZ=3DEND[UnURL]%0D%0A%0D%0A[/UnURL][/T=CPSend]> [/TCPConnect]> --results> Error: couldn't connect to host [aa.usno.navy.mil/cgi-bin/aa_altazw]>> Robert Minor> Director of Internet Services> ------------------------------------------------------------> Cybermill Communications> http://www.cybermill.com http://www.merchantmaker.com>> Providing Ecommerce and interactive website development and> hosting services on Macintosh, Windows NT, *nix, and AS/400.>> Complete ddos proof hosting solutions and network services.>>> -------------------------------------------------------------> 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/>>> -------------------------------------------------------------> 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 =20> > Web Archive of this list is at: http://webdna.smithmicro.com/>>>> ------------------------------------------------------------- This =20=> message is sent to you because you are subscribed to the mailing list =20=> . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail =20> toWeb Archive of this list is at: http://webdna.smithmicro.com/=-------------------------------------------------------------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:
This will do the trick for you ..Need to emove the header info though ..[text]the_variables=3DFFX=3D2&obj=3D10&xxy=3D2003&xxm=3D3&xxd=3D4&xxi=3D10=&place=3D&xx0=3D=20-1&xx1=3D118&xx2=3D14&yy0=3D1&yy1=3D34&yy2=3D03&zz1=3D8&zz0=3D-1&ZZZ=3DEND=[/text][TCPConnect host=3Daa.usno.navy.mil&port=3D80][tcpsend][!][/!]POST /cgi-bin/aa_altazw HTTP/1.1[crlf][!][/!]Referer: http:/[thisurl][crlf][!][/!]Host: www.payment.co.nz[crlf][!][/!]Content-Type: application/x-www-form-urlencoded[crlf][!][/!]Content-length: [countchars][the_variables][/countchars][crlf][!][/!][crlf][!][/!][the_variables][crlf][!][/!][/tcpsend][/TCPConnect]AlainOn 05/12/2003, at 8:19 AM, Matthew A Perosi wrote:> Okay I'm looking over notes and trying to figure out why this is not =20=> working. =A0This is what I came up with...>> [TCPConnect host=3Daa.usno.navy.mil]> [tcpsend]POST /cgi-bin/aa_altazw HTTP/1.0[unurl]%0D%0A[/UnURL][!]> [/!]FFX=3D2&obj=3D10&xxy=3D2003&xxm=3D3&xxd=3D4&[!]> [/!]xxi=3D10&place=3D&xx0=3D-1&xx1=3D118&xx2=3D14&yy0=3D1&[!]> [/!]yy1=3D34&yy2=3D03&zz1=3D8&zz0=3D-1&ZZZ=3DEND[unurl]%0D%0A%0D%0A[/UnU=RL][/=20> TCPSend]> [/TCPConnect]> I'm just using the [!] [!] =A0tags to illuminate the linefeeds here in ==20> email. =A0You could put it as a single line, or you could keep the [!] ==20> tags.> I've used similar code to the above for myself, so this should work.>> Also what version of WebCat are you running?>> Matt Perosi>>>> -code> [TCPConnect host=3Daa.usno.navy.mil/cgi-bin/aa_altazw]> [tcpsend]POST /> FFX=3D2&obj=3D10&xxy=3D2003&xxm=3D3&xxd=3D4&xxi=3D10&place=3D&xx0=3D> -1&xx1=3D118&xx2=3D14&yy0=3D1&> =yy1=3D34&yy2=3D03&zz1=3D8&zz0=3D-1&ZZZ=3DEND[unurl]%0D%0A%0D%0A[/UnURL][/T=CPSend]> [/TCPConnect]> --results> Error: couldn't connect to host [aa.usno.navy.mil/cgi-bin/aa_altazw]>> Robert Minor> Director of Internet Services> ------------------------------------------------------------> Cybermill Communications> http://www.cybermill.com http://www.merchantmaker.com>> Providing Ecommerce and interactive website development and> hosting services on Macintosh, Windows NT, *nix, and AS/400.>> Complete ddos proof hosting solutions and network services.>>> -------------------------------------------------------------> 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/>>> -------------------------------------------------------------> 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 =20> > Web Archive of this list is at: http://webdna.smithmicro.com/>>>> ------------------------------------------------------------- This =20=> message is sent to you because you are subscribed to the mailing list =20=> . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail =20> toWeb Archive of this list is at: http://webdna.smithmicro.com/=-------------------------------------------------------------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/
Alain Russell
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:
WebCatb15 Mac CGI -- [purchase] (1997)
Intermitent problem using [referrer] (1997)
Taxable Shipping (2003)
Location of Browser Info.txt file (1997)
Webcatalog installation on debian ? (2003)
Dynamic Pop up menu? (1997)
WebCatalog Technical Reference (1997)
MacWorld NY (2000)
[WebDNA] group searching not working as expected. (2010)
expired beta (1997)
update on wn searching (1997)
Summing fields (1997)
Closing Databases (1998)
Limiting user access to .tmpl files (1997)
[WebDNA] Just drop the Server version (2015)
[shownext max (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
choice of images (2000)
Examples of cross-selling with WebCatalog? (1998)
WebCat 3? (2000)