|
It checks firstly if register_globals is set, if not, it programatically sets it so that query/POST variables are set to normal variables.
It then connects to the host specified in the parameters and executes the query specified in the parameters and returns the result set from it.
Ultimately, it's to execute a query on a specified host remotely.
|