mixed fm_select_folder ( string $message
[, string $initial_folder_path
] )
Description
Allows you to present a dialog asking the user to select a folder.
Parameters
message
(required)
The message to be displayed in the dialog.
initial_folder_path
(optional)
The starting folder for the dialog.
Return
Returns the path to the selected folder or false if the user cancels.
Errors
315 Function not supported on server
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
$path = fm_select_folder('Please select the folder you want to upload.', FM_DESKTOP_PATH); echo $path; /*/ Returns: /Users/Scodigo/Desktop/Photos */ |
Change Log
Version | Description |
---|---|
3.0.0 | Function now returns error 315 when executed on FileMaker Server. |