FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New lottery
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
New lottery
Posted: Sat Mar 12, 2022 06:32 PM

here in italy in 2019 they invented a new lottery, unfortunately I did not find a historical archive to download but I only found a page in php.
Question: Could you download this page and extract the data I need and put it in an array to manage?
there is an sample How dowload a php page and converte the data into array ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: New lottery
Posted: Sun Mar 13, 2022 12:45 PM

Curl

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: New lottery
Posted: Sun Mar 13, 2022 08:31 PM

sample pls

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: New lottery
Posted: Sun Mar 13, 2022 09:11 PM

Silvio, can you post the link to the php page.
Best regards,
Otto

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New lottery
Posted: Sun Mar 13, 2022 10:53 PM

cText := WebPageContents( cURL )

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: New lottery
Posted: Tue Mar 15, 2022 09:57 AM
nageswaragunupudi wrote:cText := WebPageContents( cURL )


Nages, I tried but I not see anything
I wish the data are on a <table class='tg' style='width:100%;'>

Function MAIN()
LOCAL cMemo:=""
local cUrl := URL_SIM

cUrl :=ALLTRIM(cUrl)

cMemo:=WebPageContents( cUrl, .t. )

?cMemo

return nil
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion