Hi,
I've been using AOLServer for a while and found couple of features in AOLServer that I could not find in Apache using PHP.
1) At server init time, AOLServer loads all of the functions in a directory into memory which allows any .php (actually it's adp but the same concept) to call this function. Basicllay, extending the API set. I could not find a way to do this in Apache/PHP.
2) At the server init time I can create a set of global variables that are accessible by any function. The global variables are created using a special API specific to AOLServer. This API has three parameters, the name of the table, name of field, and the content. That is, at server init time, I load a file with the following command:
nsv_set myTable myField "This is global"
and any time after that I can access this variable by doing the following:
set myVar [nsv_get myTable myField]
Now, the variable myVar will have the content "This is global".
I could not find a way to do this in Apache either.
Any suggestion is appreciated.
thanks,
sunil.