Re: Populate picklist from directory and return file name
- From: Sandman <mr@xxxxxxxxxxx>
- Date: Wed, 14 Sep 2005 13:53:08 +0200
In article <1126636683.912701.98450@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"sunbum" <mbrashars@xxxxxxxxx> 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]
.
- Follow-Ups:
- References:
- Populate picklist from directory and return file name
- From: Mike Brashars
- Re: Populate picklist from directory and return file name
- From: Sandman
- Re: Populate picklist from directory and return file name
- From: sunbum
- Re: Populate picklist from directory and return file name
- From: Sandman
- Re: Populate picklist from directory and return file name
- From: Sandman
- Re: Populate picklist from directory and return file name
- From: sunbum
- Populate picklist from directory and return file name
- Prev by Date: Re: regex negative look behind not working
- Next by Date: Re: Generating Page Preview
- Previous by thread: Re: Populate picklist from directory and return file name
- Next by thread: Re: Populate picklist from directory and return file name
- Index(es):
Relevant Pages
|