|
Posted by Jerry Stuckle on 08/03/06 21:15
Sonnich wrote:
> Hi!
>
> I need to create a small settings window in PHP.
>
> I need to set options like
> 1) an exe file
> 2) directories (search path), one by one, output
> 3) allowed users for certain items (string list)
>
> I found this:
> <input type="file" name="file" size="20" <? print("value=$mergerprg2");
> ?>>
>
> but I cannot set the present file here - how do I do that?
>
> how do I select a directory?
>
> as for the string list I will try tomorrow...
>
> BR
> Sonnich
>
As David indicated, you can't select the directory or file information
in PHP. However, you can use javascript to open a window browse for the
file, then put the filename back into the input field.
If you need more help, check comp.lang.javascript.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|