You are here: Re: Getting file and dir as settings « HTML « IT news, forums, messages
Re: Getting file and dir as settings

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация