Re: [tcp connect]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22163
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. Thanks and that solved the problem=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.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. Thanks and that solved the problem=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Gary Richter

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:

Template Security error (1997) A little help on e-mail (HELP!!! :-) ) (1998) RE: Any limit to [include] (1997) Requiring that certain fields be completed (1997) Timer Values on [redirect] (1998) WebTen and WebCat (1997) Grant, please help me ... (1997) Admin Edit prob. (1997) More on the email templates (1997) RE: URL too Long? (1997) Where's Cart Created ? (1997) Sort Order on a page search (1997) RE: [WebDNA] Reformatting database headers (2009) FYI: virus alert (1996) Credit Card Number checking (1997) back button problem (1999) Webcatalog acgi conflict? (1999) WebCatalog vs. Cold Fusion (1998) writefile on OSX (2004) Duplicate Cart ID (2001)