Page 1 of 1

mod_harbour eshop example

Posted: Tue Jun 25, 2019 10:32 am
by Antonio Linares
Users management and identification is already working from the eshop:

https://harbour.fourtech.es/modharbour_ ... .prg?login

We appreciate if you test it

passwords are not saved, only their MD5 values

Full source code:

https://github.com/FiveTechSoft/mod_har ... ples/eshop

Re: mod_harbour eshop example

Posted: Tue Jun 25, 2019 10:56 am
by vilian
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 ?

Re: mod_harbour eshop example

Posted: Tue Jun 25, 2019 11:56 am
by Antonio Linares
Vilian,

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

https://github.com/FiveTechSoft/mod_har ... od-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 :-)

Re: mod_harbour eshop example

Posted: Tue Jun 25, 2019 12:23 pm
by vilian
Thank you ;)