home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,717 of 9,834   
   modri dirkac to All   
   Re: Opal http POST showing the resulting   
   23 Apr 09 14:27:32   
   
   From: modridirkac@email.si   
      
   What about curl.exe?   
      
   Nowdays I use it only to GET some web pages (exchange rates) and   
   download ZIP files from web.   
      
   But in the past I wrote a paradox program for automatic   
   answering questions in a music quiz.   
      
   * GET web page with question, parse it   
   * if question is not yet in my database, then store it and select first from   
   3 answers.   
   * POST back answer   
   * GET result and new answer   
     if result is OK, then remember answer to this question fo future.   
     if result is not OK, remeber this wrong result and not select it in future   
   * POST back next answer   
   * GET result   
   * POST back email and name.   
      
   From 100.000 answers more than 20.000 werw mine, but I was disqualified.   
   :-(   
      
      
   curl.exe can write and read session state from TXT file.   
   So on first GET you save session ID in header.txt, when doing   
   POST you tell curl.exe to use session from header.txt   
      
   Jure   
      
      
      
   "Jim Moseley"  je napisal v sporočilo   
   news:49ef5cf2@pnews.thedbcommunity.com ...   
   >   
   > OK, I seem to have run into a brick wall.  I need my Opal code to open up   
   > a webpage via a POST, and then display the resulting page.   
   >   
   > I can issue a POST in the background and capture the results, using   
   > MSXML's   
   > xmlHTTP functions.   
   >   
   > I can display a webpage several different ways, using Tony's MSBrowser &   
   > via startBrowser, and via shellExecute.   
   >   
   > I can even capture a webpage in the background via GET using Lorrin   
   > Moore's   
   > grabIt library.   
   >   
   > But, I can't figure out how to do both at the same time.  Tony's MSBrowser   
   > looked promising, but I need a SAFEARRAY data structure for the Navigate2   
   > method to trigger the POSTdata, and that is out of my league.   
   >   
   > My current webpage is pretty simple: a list of address fields to trigger   
   > Google Maps.  I can't use GET because the clients aren't limited to the   
   > number   
   > of addresses they can enter to get a route returned, and I'd run into the   
   > URL length limit.   
   >   
   > BTW, there are thousands of clients that will use this code, via Runtime   
   > 9.   
   >   
   > Any other ideas?   
   >   
   > Thanks,   
   > Jim Moseley   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca