Source file public?

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Source file public?

Post by Marc Vanzegbroeck »

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

Re: Source file public?

Post by Antonio Linares »

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
Post Reply