View Full Version : function for server info available?


12-06-2004, 07:11 AM
When we fill out the server info, root directory etc are those values available for referencing using xbasic. Similar would be the API_getusername().

Thanks Jack

Lenny Forziati
12-06-2004, 07:33 AM
They are avaiable to your page in the ServerSetting dot variable.

You can display them all in order to see what is available by using the a5w_info() function on a test page, such as at http://was.alphasoftware.com/a5w_info.a5w

You can also load the server settings yourself using the httpd_Settings_get() function. This would be useful in a desktop application, but you should just use the ServerSetting variable in an A5W page as it will be faster to not load the settings again.


12-06-2004, 09:05 AM
I got it, thanks lenny