Re: [tcp connect]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22161
interpreted = N
texte = >That said, when I do a tcpconnect and grab a chunk of text from a remote >server, above that grabbed chunk of text I get a single line that reads if >the file has an extension of .html > >HTTP/1.0 OK Content-type:text/html Server: Server:navise.com >Content-lenght:240>But is there away to hide these lines and not have it show on the page to >the user above the imported text?TCPSend is a very low-level context: you are getting the complete set of raw bytes that a web server returns when a URL is requested. I suggest you use the new [Middle] context (written for this purpose) to grab a chunk of text out of the middle of the complete text. If you control the other server's templates, you can put some special HTML comments in there like and to help your [Middle] context find what it's looking for.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (John Butler 2000)
  2. Re: [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (Kenneth Grome 2000)
  3. Re: [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (John Butler 2000)
  4. Re: [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (Kenneth Grome 2000)
  5. Re: [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (Kenneth Grome 2000)
  6. [showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (John Butler 2000)
  7. Re: [tcp connect] (Gary Richter 1998)
  8. Re: [tcp connect] (PCS Technical Support 1998)
  9. Re: [tcp connect] (Gary Richter 1998)
  10. Re: [tcp connect] (PCS Technical Support 1998)
  11. Re: [tcp connect]-dumb question? (Kenneth Grome 1998)
  12. Re: [tcp connect]-dumb question? (Gary Richter 1998)
  13. Re: [tcp connect] (Carlos Machado 1998)
  14. [tcp connect] (charles kline 1998)
  15. Fun With [TCP Connect] (charles kline 1998)
>That said, when I do a tcpconnect and grab a chunk of text from a remote >server, above that grabbed chunk of text I get a single line that reads if >the file has an extension of .html > >HTTP/1.0 OK Content-type:text/html Server: Server:navise.com >Content-lenght:240>But is there away to hide these lines and not have it show on the page to >the user above the imported text?TCPSend is a very low-level context: you are getting the complete set of raw bytes that a web server returns when a URL is requested. I suggest you use the new [middle] context (written for this purpose) to grab a chunk of text out of the middle of the complete text. If you control the other server's templates, you can put some special HTML comments in there like and to help your [middle] context find what it's looking for.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

SQL Connections (2004) Re[2]: How true is this? (1999) [input] [/input] (1997) Apache not likeing WebDNA (2008) [WriteFile] problems (1997) [WriteFile] problems (1997) [WebDNA] WebDNA 7 (2011) Virtual hosting and webcatNT (1997) [ShowNext] (1997) [WriteFile] problems (1997) Digital Postcards (1999) WCS Newbie question (1997) Where is the secure setting for text variables? (2003) Signal Raised (1997) The Form authentication trick (2000) WebCat2 - many [carts] on one template page? (1997) newbies to web, spaces in email address (1998) WebCat/Typhoon Status under Windows (1998) Interfacing WebMerchant to www.fedex.com (1997) NetSplat and WebCat2 (1997)