Re: DLL question
- Posted by don cole <doncole at pacbell.net> Jul 12, 2006
- 678 views
Hallvard Ystad wrote: > > C Bouzy wrote: > > That is why I sent you to the link to Asynchronous HTTP by Thomas Parslow, > > it does exactly what you want. > > ..except that I don't wish to use async http, because my requests are done > from > within a CGI script. Once I start waiting for an async http port, my cgi > script > finishes and dies before I get the response. I prefer waiting for synchronous > http rather than sleep() or have a while loop waiting for a boolean value to > be true. I want my CGI script to move straightforward from start to end. > > > don cole wrote: > > I hope you mean "when I can do one". > > Do I have to? Does retrieving content from a web server necessarily involve > disk activity? I have to open a port, sure, but I don't have to mess with my > disk drive, do I? > No, if all you want to do is open your browser and read the text of the webpage there woulld be no need of disk activity. Except of course the opening and closing of the browser. Now for that, you wouldn't need any euphoria programing at all just a browser. I was under the impression that you wanted to clip some text and save it for later use. > > I'd like to see a sample of this webpage you are trying to get text from. > > It could be anything, really. It could be <a > href="http://www.rapideuphoria.com/">http://www.rapideuphoria.com/</a>. > The CGI script reads (will read, hopefully) the webpage into a string and > rewrite some of > it to be displayed in the client browser. E.g. I could extract whatever is > within the <title> > tags. > > Thanks for peeking into this, anyway. > HY > > Prætera censeo Carthaginem esse delendam Don Cole