FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Source file public?
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Source file public?
Posted: Tue Sep 29, 2020 08:39 AM

Hi,

i just installed mod_harbour to play with it.
I noticed that it directly runs the PRG-files without compiling.
Does that mean thay anyone can see the source?

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Source file public?
Posted: Tue Sep 29, 2020 09:11 AM

Marc,

mod_harbour can use PRGs and HRBs files too. HRBs are binary files. To build a HRB file from a PRG file do:

harbour -gh -n testhrb.prg

Even if you use PRGs nobody can see them, in the same way as when you use PHP files, the users can't read them.
Because Apache will provide the PRG to mod_harbour and it will return the result of the PRG once processed.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion