323201 Small PHP Script

Selesai Dipasang May 28, 2009 Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

I need a php script that will do the following.

1. If $user_dir already exists and contains at least one file (of any name) but must have a .zip extension (*.zip)

{ do something}

2. else, if the directory exists but does not contain at least one (*.zip) file,

{ do nothing}

3. else, if $user_dir does not exist, create it and

{do nothing else}.

To summarize:

The directory must exist and it must contain at least one .zip file with any filename (*.zip) before we {do something}.

However, if the directory does exist but does not contain at least one *.zip file, everything is fine, we don't do anything.

Or, if the directory doesn't exist at all, then we create it and that's all.

I hope that makes sense.

Odd Jobs PHP

ID Proyek: #2069008

Tentang proyek

1 proposal Proyek online Aktif Jul 11, 2012

Diberikan kepada:

symlink7

See PM for details.

$10 USD dalam 0 hari
(73 Ulasan)
5.1