Re: TCPConnect / Current Temperature

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55226
interpreted = N
texte = Wow, I just re-read what I typed and see that I need a refresher in either basic grammar, proofreading or typing. Let me try again and some more information: If you get a weird server response using TCPConnect with a URL that works fine in a browser, weather.com could be requiring a cookie or more likely a mime header like USER-AGENT. This is the type of thing that browsers send automatically but that TCPConnect does not pass without some effort. They probably use this method to block automated requests. I've seen the method used against wget and curl by some sites. -----Original Message----- From: devaulw@onebox.com Sent: Wed, 07 Jan 2004 13:31:26 -0500 To: (WebDNA Talk) Subject: Re: TCPConnect / Current Temperature If you get a weird response for a URL that works in a browser, weather.com be requiring a cookie or more likely a mime header from browser that TCPConnect does not automatically pass. Probably just a way to block automatically grabbing its pages. Bill -----Original Message----- From: Donovan Brooke Sent: Wed, 07 Jan 2004 11:43:23 -0600 To: (WebDNA Talk) Subject: Re: TCPConnect / Current Temperature Yea, I couldn't figure it out for weather.com... would return: "Moved perminently" :-) Donovan Clint Davis wrote: > Jeff, > > I think I found a new way, but it requires 2 [middle] contexts. Here's what > I've got. (Make sure you fix the line wraps.) If anyone can improve it, feel > free! > > > [text]theTemp=[!] > [/!][middle startafter= align="center">&endbefore=%26deg;F
][!] > [/!][TCPConnect host=www.crh.noaa.gov&port=80][!] > [/!][TCPSend]GET /forecasts/INZ086.php > HTTP/1.0[crlf]Host:www.crh.noaa.gov[crlf][crlf][/TCPSend][!] > [/!][/TCPConnect][!] > [/!][/middle][!] > [/!]0F[/text] > [text show=T]theTemp=[middle > startafter=

&endbefore=%26deg;F][theTemp][/middle]0F[/text] > > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: TCPConnect / Current Temperature ( Christer Olsson 2004)
  2. Re: (more) TCPConnect / Current Temperature ( Joe D'Andrea 2004)
  3. Re: TCPConnect / Current Temperature ( Joe D'Andrea 2004)
  4. Re: TCPConnect / Current Temperature ( Clint Davis 2004)
  5. Re: TCPConnect / Current Temperature ( Donovan Brooke 2004)
  6. Re: TCPConnect / Current Temperature ( Christer Olsson 2004)
  7. Re: TCPConnect / Current Temperature ( Christer Olsson 2004)
  8. Re: TCPConnect / Current Temperature ( Rob Marquardt 2004)
  9. Re: TCPConnect / Current Temperature ( Clint Davis 2004)
  10. Re: TCPConnect / Current Temperature ( Donovan Brooke 2004)
  11. Re: TCPConnect / Current Temperature ( Donovan Brooke 2004)
  12. Re: TCPConnect / Current Temperature ( "Sal D'Anna" 2004)
  13. Re: TCPConnect / Current Temperature ( Christer Olsson 2004)
  14. Re: TCPConnect / Current Temperature ( Donovan Brooke 2004)
  15. Re: TCPConnect / Current Temperature ( Donovan Brooke 2004)
  16. Re: TCPConnect / Current Temperature ( devaulw@onebox.com 2004)
  17. Re: TCPConnect / Current Temperature ( devaulw@onebox.com 2004)
  18. Re: TCPConnect / Current Temperature ( Bob Minor 2004)
  19. Re: TCPConnect / Current Temperature ( devaulw@onebox.com 2004)
  20. Re: TCPConnect / Current Temperature ( Donovan Brooke 2004)
  21. Re: TCPConnect / Current Temperature ( Clint Davis 2004)
  22. Re: TCPConnect / Current Temperature ( "Dan Strong" 2004)
  23. Re: TCPConnect / Current Temperature ( Jeff Logan 2004)
  24. TCPConnect / Current Temperature ( Clint Davis 2004)
Wow, I just re-read what I typed and see that I need a refresher in either basic grammar, proofreading or typing. Let me try again and some more information: If you get a weird server response using TCPConnect with a URL that works fine in a browser, weather.com could be requiring a cookie or more likely a mime header like USER-AGENT. This is the type of thing that browsers send automatically but that TCPConnect does not pass without some effort. They probably use this method to block automated requests. I've seen the method used against wget and curl by some sites. -----Original Message----- From: devaulw@onebox.com Sent: Wed, 07 Jan 2004 13:31:26 -0500 To: (WebDNA Talk) Subject: Re: TCPConnect / Current Temperature If you get a weird response for a URL that works in a browser, weather.com be requiring a cookie or more likely a mime header from browser that TCPConnect does not automatically pass. Probably just a way to block automatically grabbing its pages. Bill -----Original Message----- From: Donovan Brooke Sent: Wed, 07 Jan 2004 11:43:23 -0600 To: (WebDNA Talk) Subject: Re: TCPConnect / Current Temperature Yea, I couldn't figure it out for weather.com... would return: "Moved perminently" :-) Donovan Clint Davis wrote: > Jeff, > > I think I found a new way, but it requires 2 [middle] contexts. Here's what > I've got. (Make sure you fix the line wraps.) If anyone can improve it, feel > free! > > > [text]theTemp=[!] > [/!][middle startafter= align="center">&endbefore=%26deg;F
][!] > [/!][TCPConnect host=www.crh.noaa.gov&port=80][!] > [/!][tcpsend]GET /forecasts/INZ086.php > HTTP/1.0[crlf]Host:www.crh.noaa.gov[crlf][crlf][/TCPSend][!] > [/!][/TCPConnect][!] > [/!][/middle][!] > [/!]0F[/text] > [text show=T]theTemp=[middle > startafter=

&endbefore=%26deg;F][theTemp][/middle]0F[/text] > > -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ devaulw@onebox.com

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:

can we get string variables? (1998) multi-paragraph fields (1997) Rumpus/Typhoon modules included in Typhoon ... (1997) Database Security Rev., (2002) Firesite cache vs webcat cache (1997) greater than or equal to (1997) [WebDNA] Authorize.net tcpconnect tcpsend (2019) popups, netscape vs explorer (1997) WebSite and *NO* Authentication Dialog Box!!? (1998) Help name our technology! (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) RE: E-mailer error codes (1997) [WebDNA] Triggers issue, or sendmail? (2012) encrypting without "ugly" URLs (2005) The future of WebCatalog is coming with 4.0... (2000) Bug Report, maybe (1997) SHOWIF/HIDEIF empty fields (2005) Location of Browser Info.txt file (1997) rn (range) (2003) [Shownext] (1997)