Re: Filebrowse prompt for local script

Re: Filebrowse prompt for local script

am 11.04.2008 22:18:31 von AnrDaemon

Greetings, Franz Marksteiner.
In reply to Your message dated Thursday, March 20, 2008, 18:36:11,

> I am using a couple of local scripts without webserver.
> Is there a way to make the script open a filebrowse prompt, so that the user
> can select some file as input?


dl('php_win32std');
$res = win_browse_file(true, null, null, null, array('Text files (*.txt)' => '*.txt'));

print_r($res);

?>

Be aware of the fact that result of the function will be in ANSI encoding.


--
Sincerely Yours, AnrDaemon