mod_harbour eshop example

mod_harbour eshop example

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour eshop example

Postby vilian » 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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: mod_harbour eshop example

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mod_harbour eshop example

Postby vilian » Tue Jun 25, 2019 12:23 pm

Thank you ;)
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests