get_dlg_select_file
get_dlg_select_file($path,$action); - this function is used to create a dialog for selecting the file path
The function accepts parameters as input:
$path – the path that will be opened by default in the dialog$action – associated action (you need to remember the last open path for each action)
After testing, the function returns the result of its work to the script :
File path – the path to the file of the user's choice or "", if nothing was entered.