Reply to Re: Populate picklist from directory and return file name

Your name:

Reply:


Posted by Sandman on 09/14/05 14:53

In article <1126636683.912701.98450@g47g2000cwa.googlegroups.com>,
"sunbum" <mbrashars@gmail.com> wrote:

> No, it worked great!
>
> I think our messages just crossed.
>
> It was the back slashes in my file path. Your code was perfect :)
>
> Do you have any pointers on this....
>
> > One last thing to bug you..... what holds the final selection of the
> > file? is it $file[select] ?
> > and what would signal that I am done selecting and want to do something
> > with the value?

You are outputting a form, that will look something like this:

<select name='file'>
<option value='bonjour.txt'>bonjour.txt</option>
<option value='hello.txt'>hello.txt</option>
</select>

When you submit that form, it will be put in $_GET["file"] on the receiving PHP
script.


--
Sandman[.net]

[Back to original 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

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