In Progress

Need simple [url removed, login to view] for listing all elements in a folder

We have several subfolders full of logos for people to download. The only thing in these folders are the logos and an [url removed, login to view] file.

The [url removed, login to view] file for listing these logos is started. But we now needed it modified.

Here is the location of the current [url removed, login to view] file:

[url removed, login to view]

Here is the current code for the [url removed, login to view] file:

-------------------------------------------------------------------------------------------------

<?

//CHANGE ME HERE! Set the folder where logos are stored

$imageDirectory = '/home/bestoma/public_html/winnerlogos2010/';

if(isset($_REQUEST['download']))

{

$tmp = explode('.', $_REQUEST['download']);

for($i=0; isset($tmp[$i]); $i++)

$ext = $tmp[$i];

header("Content-Type: application/force-download");

header("Content-Type: application/octet-stream");

header("Content-Type: application/download");

header("Content-Description: File Transfer");

header('Content-Disposition: attachment;

filename="'.$_REQUEST['download'].'"');

echo file_get_contents($imageDirectory.$_REQUEST['download']);

exit();

}

?>

<p><font size="+3"><b>Best of Omaha® 2010 Winner Logos<br>

</b>

<p><font size="+1"><b>Your customized logo is saved with both BLACK

and WHITE outer text and in four different formats.<br>

</b>

</b>

<p><b>The .EPS file is the highest quality and is scalable to any size.<br>

</b><b>The .EPS, .PSD and .PNG files have TRANSPARENT backgrounds.</b></p>

</b><b>Please choose the best logo text color and logo format for

each usage.</b></p>

<p><b>Your customized Best of Omaha® 2010 Logo is Trademarked by

Omaha Magazine, LTD</b></p>

<p><b>It may not be altered. Best of Omaha® logo abuse may result

in disqualification from future contest.</b></p>

<p>If your logo is not here yet, I am working on it.<br>

Please e-mail me at <a

href="mailto:"></a><br>

if you need to me move you to the top of my <b>"next to

do"</b> list. </font></p>

</b>

<?php

if ($handle = opendir($imageDirectory)) {

while (false !== ($file = readdir($handle))) {

if ($file != "." && $file != "..") {

$arr[] = $file;

}

}

closedir($handle);

}

sort($arr);

?>

<table cellspacing="10">

<?

foreach($arr as $value)

{

echo '<tr><td>'.$value.'</td><td><a

href="?download='.urlencode($value).'">Download</a></td></tr>';

}

?>

</table>

-------------------------------------------------------------------------------------------------

Here is how we want this current [url removed, login to view] updated:

When creating the directory list, do not list the [url removed, login to view] in the list

Ignore all dashes and spaces when alphabetizing so the business names group together more accurately

Ignore Case so upper and lower cases are intermixed together

In between my text and the start of the list, insert a simple search box to make it easier for companies to

find their own logos

I need this [url removed, login to view] to be movable to other subfolders with different logos we have on different servers. I only want to have to change the code line:

//CHANGE ME HERE! Set the folder where logos are stored

$imageDirectory = '/home/bestoma/public_html/winnerlogos2010/';

when I move this [url removed, login to view] to other subfolders

Thank you for looking. I need this done fast.

Tyler

Skills: PHP

See more: working from home companies, working at home companies, white & case, white and case, where to make logos, when people ignore you, transfer business com logo, top logo companies, top companies logos, the p.i.c. group, text font and logos, start your own business ltd, spaces com logo, simple logos for business, search for people, png download, php in full, php color code, people in logos, p&a group, names of companies logos, names for logo companies, names and logos of companies, names and logos for business, make business logos

About the Employer:
( 3 reviews ) Omaha, United States

Project ID: #559930

Awarded to:

msgaruba

please read pmb thanks!

$65 USD in 1 day
(13 Reviews)
4.2

5 freelancers are bidding on average $81 for this job

univane

PLEASE CHECK PM. Thanks.

$100 USD in 1 day
(22 Reviews)
4.4
sat12345

PLz check PMB...

$80 USD in 1 day
(51 Reviews)
3.9
PlaceTalent

Have previous expererience working with similar scripts. Can start right now.

$90 USD in 0 days
(15 Reviews)
3.3
owdkar

Dear Sir, we are some experts working together for a long time and have done a several types of projects. We give the preference on quality and the out look of the project so that a customer can be impressed easily. We More

$70 USD in 1 day
(0 Reviews)
0.0