Skip to content

Functions provided by the mod Harbour

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

Apache API

Name Description
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

mod API

Name Description
Execute( cCode, ... ) Compiles and executes PRG code, using optional ... parameters (compilation flags)
ValToChar( uValue ) Turns any value into a string