mod_harbour eshop example

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

mod_harbour eshop example

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: mod_harbour eshop example

Post 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 ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: mod_harbour eshop example

Post 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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: mod_harbour eshop example

Post by vilian »

Thank you ;)
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Post Reply