Reply to Re: [PHP] I need to create a search that will search partial filesnamesof images and display the images. Basically, I have a folder on theinternetthat has security camera images dumped into it with a file namelike this:

Your name:

Reply:


Posted by Vin on 10/05/68 11:07

"Marek Kilimajer" <lists@kilimajer.net> wrote in message
news:4202A271.6010004@kilimajer.net...
> Vin wrote:
> >
> > Here is an example of what I'm talking about:
> >
> > Filename looks like this: MDcameraname20050108124537001A.JPG
> > I would like the output to look like this: 01/08/2005 12:45:37
> >
>
>
preg_match('/MDcameraname([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})/
',
> $filename, $m);
>
> $m[1] - year
> $m[2] - month
> .... etc.

Thank you all for your help.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация