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:
>>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)