Re: TCP Connect/send and CGI

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54680
interpreted = N
texte = on its way off list .. -- Alain Russell Blackpepper Interactive Ltd p. 09 520 6280 | m. 021 446 169 http://www.blackpepper.co.nz On 05/12/2003, at 1:34 PM, WebDna @ wrote: > That is what I thought. > > So I tried saving the file with Unix, DOS, and Mac. > > Not sure what else to do. > > Alain, could I bother you to email the actual file? > > Thanks, > > > ----- Original Message ----- > From: "Stuart Tremain" > To: "WebDNA Talk" > Sent: Thursday, December 04, 2003 4:18 PM > Subject: Re: TCP Connect/send and CGI > > >> Could be your line endings ..... >> >> >> >> >> On Friday, December 5, 2003, at 11:17 AM, WebDna @ wrote: >> >>> :) Well I assumed as much since you suggested it. hehe >>> >>> Seriously strange. I run it locally on a windows platform with webcat >>> 4.5 >>> and it slaps IIS to sleep. I upload to redhat running webcat 4.5 and >>> it just >>> hangs. Though Apache is fine. >>> >>> Anyone ideas? >>> >>> >>> >>> ----- Original Message ----- >>> From: "Alain Russell" >>> To: "WebDNA Talk" >>> Sent: Thursday, December 04, 2003 4:00 PM >>> Subject: Re: TCP Connect/send and CGI >>> >>> >>>> works fine on mine .. >>>> http://utility.blackpepper.co.nz/tcpconnect/navy.html >>>> >>>> ? >>>> >>>> >>>> On 05/12/2003, at 1:10 PM, WebDna @ wrote: >>>> >>>>> GRRRR.... All my mails to the list have been bouncing. I will try >>>>> once >>>>> more. >>>>> >>>>> This code is crashing the webserver! >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "John Peacock" >>>>> To: "WebDNA Talk" >>>>> Sent: Thursday, December 04, 2003 11:57 AM >>>>> Subject: Re: TCP Connect/send and CGI >>>>> >>>>> >>>>>> Alain Russell wrote: >>>>>> >>>>>>> This will do the trick for you .. >>>>>> >>>>>> Not quite... >>>>>> >>>>>>> >>>>>>> [text]the_variables=FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&plac >>>>>>> e= >>>>>>> &x >>>>>>> x0= >>>>>>> -1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[/text] >>>>>>> >>>>>>> [TCPConnect host=aa.usno.navy.mil&port=80][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] >>>>>> >>>>>> The end of the HTTP request must have two [crlf]'s: >>>>>> >>>>>> [/!][the_variables][crlf][crlf][!] >>>>>> >>>>>> John >>>>>> >>>>>> -- >>>>>> John Peacock >>>>>> Director of Information Research and Technology >>>>>> Rowman & Littlefield Publishing Group >>>>>> 4501 Forbes Boulevard >>>>>> Suite H >>>>>> Lanham, MD 20706 >>>>>> 301-459-3366 x.5010 >>>>>> fax 301-429-5748 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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 >>>>> >>>>> 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 >>> >>>> 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 >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> >> ------------------------------------------------------------- >> 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 > > 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  2. Re: TCP Connect/send and CGI ( Rob Marquardt 2003)
  3. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  4. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  5. Re: TCP Connect/send and CGI ( Stuart Tremain 2003)
  6. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  7. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  8. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  9. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  10. Re: TCP Connect/send and CGI ( "Dan Strong" 2003)
  11. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  12. Re: TCP Connect/send and CGI ( John Peacock 2003)
  13. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  14. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  15. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  16. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  17. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  18. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  19. Re: TCP Connect/send and CGI ( Bob Minor 2003)
  20. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  21. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  22. Re: TCP Connect/send and CGI ( Donovan Brooke 2003)
  23. TCP Connect/send and CGI ( "WebDna @" 2003)
on its way off list .. -- Alain Russell Blackpepper Interactive Ltd p. 09 520 6280 | m. 021 446 169 http://www.blackpepper.co.nz On 05/12/2003, at 1:34 PM, WebDna @ wrote: > That is what I thought. > > So I tried saving the file with Unix, DOS, and Mac. > > Not sure what else to do. > > Alain, could I bother you to email the actual file? > > Thanks, > > > ----- Original Message ----- > From: "Stuart Tremain" > To: "WebDNA Talk" > Sent: Thursday, December 04, 2003 4:18 PM > Subject: Re: TCP Connect/send and CGI > > >> Could be your line endings ..... >> >> >> >> >> On Friday, December 5, 2003, at 11:17 AM, WebDna @ wrote: >> >>> :) Well I assumed as much since you suggested it. hehe >>> >>> Seriously strange. I run it locally on a windows platform with webcat >>> 4.5 >>> and it slaps IIS to sleep. I upload to redhat running webcat 4.5 and >>> it just >>> hangs. Though Apache is fine. >>> >>> Anyone ideas? >>> >>> >>> >>> ----- Original Message ----- >>> From: "Alain Russell" >>> To: "WebDNA Talk" >>> Sent: Thursday, December 04, 2003 4:00 PM >>> Subject: Re: TCP Connect/send and CGI >>> >>> >>>> works fine on mine .. >>>> http://utility.blackpepper.co.nz/tcpconnect/navy.html >>>> >>>> ? >>>> >>>> >>>> On 05/12/2003, at 1:10 PM, WebDna @ wrote: >>>> >>>>> GRRRR.... All my mails to the list have been bouncing. I will try >>>>> once >>>>> more. >>>>> >>>>> This code is crashing the webserver! >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "John Peacock" >>>>> To: "WebDNA Talk" >>>>> Sent: Thursday, December 04, 2003 11:57 AM >>>>> Subject: Re: TCP Connect/send and CGI >>>>> >>>>> >>>>>> Alain Russell wrote: >>>>>> >>>>>>> This will do the trick for you .. >>>>>> >>>>>> Not quite... >>>>>> >>>>>>> >>>>>>> [text]the_variables=FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&plac >>>>>>> e= >>>>>>> &x >>>>>>> x0= >>>>>>> -1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[/text] >>>>>>> >>>>>>> [TCPConnect host=aa.usno.navy.mil&port=80][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] >>>>>> >>>>>> The end of the HTTP request must have two [crlf]'s: >>>>>> >>>>>> [/!][the_variables][crlf][crlf][!] >>>>>> >>>>>> John >>>>>> >>>>>> -- >>>>>> John Peacock >>>>>> Director of Information Research and Technology >>>>>> Rowman & Littlefield Publishing Group >>>>>> 4501 Forbes Boulevard >>>>>> Suite H >>>>>> Lanham, MD 20706 >>>>>> 301-459-3366 x.5010 >>>>>> fax 301-429-5748 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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 >>>>> >>>>> 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 >>> >>>> 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 >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >> Regards >> >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> t +612 9908 2134 >> f +612 9908 4837 >> >> >> ------------------------------------------------------------- >> 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 > > 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 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:

NT version and O'reily's WebSite (1997) Still Stumped on ShowNext...HELP! (1997) Frames and WebCat (1997) Error Template (1999) WC2b15 File Corruption (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) [addlineitems] (1997) I've been thinking (2002) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Proper file locations (1997) New Plug-in and Type 11 errors (1997) textarea text truncated by browser (2000) FW: Rollovers (1999) [searchString] (1997) More Applescript (1997) Migrating 4.0.2 to 4.5 (2002) Webstar 1.3.1 PPC (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Sorting error (1997) I'm new be kind (1997)