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:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux