Skip to content

Functions provided by the mod Harbour

FiveTech Software edited this page May 29, 2019 · 24 revisions

Apache API

Name Description Example
AP_RPuts( uValue ) Sends a value, converted into a string, to the client. Returns the number of bytes sent or -1 if there is an error ...
AP_FileName() returns the filename.prg provided to Apache by the client ...
AP_Args() returns the args provided to Apache by the client if any ...
AP_Method() returns "GET" or "POST" according to the client request ...
AP_UserIP() returns the IP, as string, of the client ...
AP_HeadersIn() returns a hash with each headers pair, key and value ...

mod API

Name Description Example
Execute( cCode, ... ) Compiles and executes PRG code, using optional ... parameters (compilation flags) ...
ValToChar( uValue ) Turns any value into a string ...
GetErrorInfo( oError ) returns all the oError info as a multiples lines string ...

Clone this wiki locally