Displays the standard Save dialog box.
Contents |
string wb_sys_dlg_save ([int parent[, string title [, string filter[, string path[, string filename]]]]])
Returns a string representing the file to save, including the path, name and the file extension or an empty string, if the action has been cancelled; FALSE, if an error ocurred.
<?
$path = getcwd();
$filter = array(array('All Files','*.*'),array('PHPW Files', '*.phpw'));
if($filename = wb_sys_dlg_save(NULL, 'Save file', $filter, $path))
{
wb_message_box(NULL, $filename);
}
?>