Sedang Disiapkan

PHP - Select Directpry via Dropdown

I need an additional piece of code developed that will fit it to an existing php page.

Basically, I want the code to :

1 Allow me to select a directory in a specified path, via a drop down list

2 Use the above directory as a variable to be used within the rest of the page’s code

The existing php page is simply a tool that I use to create the site’s galleries, but I have to manually type out the full path to the required directory every time I want to use a different directory.

I therefore want this new piece of code to read the directories and allow me to select the target directory via a drop down.

I’ve attached two screen captures to help illustrate my requirement:

1st shows a screen capture of the relevant code.

2nd shows a screen capture of my ftp client showing some of the directories.

There are 5 ‘top level’ directories: 2007, 2008, archive, flyers, special

I only need to select subdirectories from 2008 and special as all the other galleries are already coded. Both of these directories have further sub-directories for various events. However, the 2008 events also have one more level of required target sub-directories: people, shows

You may also notice a final level of subdirectories (‘originals’ and ’thumbs’) within these directories, but these do not need to be selected.

The following shows examples of individual target directories:

• /images/club/2008/aug/people

• /images/club/2008/aug/shows

• /images/club/2008/birthday/people

• /images/club/2008/birthday/shows

• /images/club/2008/halloween/people

• /images/club/2008/halloween/shows

• /images/club/special/barbican

• /images/club/special/kerrang

• /images/club/special/sambuca

*please note all of the above are simply examples of target directories and are not supposed to be an exhaustive/complete list

I hope I’ve given enough information (I usually give too much, but better safe than sorry), but if you do require any more, please do not hesitate to contact me.

I'm hoping this should be an easy job for a seasoned php guru :)

My normal terms of 50% payment into escrow upon acceptance of the project, and final 50% upon completion.

Kemahiran: PHP

Lihat lebih lanjut: php select drop, php directory listing dropdown, php select image, birthday drop php, php select dropdown, via escrow, top coded, payment terms escrow, payment into escrow, one more level, is escrow safe to use, is escrow a one time payment, information guru, guru images, give out flyers, flyers out, club php, client target, client payment escrow, archive top, 50 flyers, php read directories dropdown list, php birthdate dropdown, select dir php, php drop levels

Tentang Majikan:
( 47 ulasan ) London, United Kingdom

ID Projek: #316658