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 RussellBlackpepper Interactive Ltdp. 09 520 6280 | m. 021 446 169http://www.blackpepper.co.nzOn 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:
on its way off list ..--Alain RussellBlackpepper Interactive Ltdp. 09 520 6280 | m. 021 446 169http://www.blackpepper.co.nzOn 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:
Include a big block of text (1997)
[Fwd: F3 database munching] (1997)
WebCatalog for guestbook ? (1997)
[SQL] on MacOs to SQL Server ... HOW TO? (2000)
[format xs] freeze (1997)
Menu to select product variations (1997)
Simple Database close connection (2001)
Random Number Generator works for Ranges of Numbers (1997)
[WebDNA] Crashing (2008)
[LookUp] (1999)
PCS Frames (1997)
Extracting a Word (2000)
Taxes rates based on item and State (1998)
CC: (1998)
taxTotal, grandTotal (1997)
[WebDNA] how can i grab the contents of a post? (2011)
Trouble with formula.db (1997)
Draft Manual, Tutorial, and more (1997)
RAM variables (1997)
Location of Webcat site in folder hierarchy (1997)