Re: Filebrowse prompt for local script

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?

<?php

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 <anrdaemon [at] freemail.ru>
AnrDaemon [ Fr, 11 April 2008 22:18 ] [ ID #1940789 ]
PHP » comp.lang.php » Re: Filebrowse prompt for local script

Vorheriges Thema: minimum validation required on forms?
Nächstes Thema: PHP Certification