FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour mod_harbour eshop example
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
mod_harbour eshop example
Posted: Tue Jun 25, 2019 10:32 AM
Users management and identification is already working from the eshop:

https://harbour.fourtech.es/modharbour_samples/eshop/index.prg?login

We appreciate if you test it

passwords are not saved, only their MD5 values

Full source code:

https://github.com/FiveTechSoft/mod_harbour/tree/master/samples/eshop
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: mod_harbour eshop example
Posted: Tue Jun 25, 2019 10:56 AM

Antônio,
There are a lot of things in your code that I don't know - AP_Method(), AP_RPuts(), AP_Args(),AP_PostPairs(), ReplaceBlocks(), hb_HGet() - I think some comments in the code could help us to understand what they do.

Is possible to do the same using MySql ?

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: mod_harbour eshop example
Posted: Tue Jun 25, 2019 11:56 AM
Vilian,

The docs for those functions is available from the mod_harbour wiki:

https://github.com/FiveTechSoft/mod_harbour/wiki/Functions-provided-by-the-mod-Harbour

hb_HGet() is a Harbour function for hashes:

https://github.com/Petewg/harbour-core/wiki/hb_H

Yes, MySQL can be used too, but for now, we are using standard DBFs :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: mod_harbour eshop example
Posted: Tue Jun 25, 2019 12:23 PM

Thank you ;)

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil

Continue the discussion