Re: I need to create a search that will search partial files names of images and display the images. Basically, I have a folder on the internet that
has security camera images dumped into it with a file name like this:
| From: | Richard Lynch | Date: | Thu, 03 Feb 2005 17:23:49 +0000 |
| Subject: | Re: I need to create a search that will search partial files names of images and display the images. Basically, I have a folder on the internet that has security camera images dumped into it with a file name like this: |
||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208007@lists.php.net to get a copy of this message | ||
Vin wrote:
> I need to create a search that will search partial files names of images
> and
> display the images. Basically, I have a folder on the internet that has
> security camera images dumped into it with a file name like this:
>
> MDcameraname20050109104846001N38B.jpg
> MDcameranameYYYYMMDDHHMMSS001N38B
>
> So what I would like to create is a search that will allow a user to input
> the year, month, day, and hour, and have the website display the images
> from
> that hour. Could someone help me with this?
Take the sample code from http://php.net/readdir and then the
sample code
from http://php.net/preg_match and you're pretty much
done...
--
Like Music?
http://l-i-e.com/artists.htm