You are here: Re: filename parsing....stuck! « PHP Programming Language « IT news, forums, messages
Re: filename parsing....stuck!

Posted by cbmeeks on 01/18/07 16:50

Nevermind!

I'm an idiot.

It's D not d

http://www.codershangout.com


cbmeeks wrote:
> Arg!
>
> In this code:
>
> $fn = 'demo-640x480.jpg';
>
> $pattern = '/\d+/';
>
> $matches = preg_split($pattern, $fn, -1, PREG_SPLIT_NO_EMPTY);
>
> print_r($matches);
>
>
> give me:
>
> Array ( [0] => demo- [1] => x [2] => .jpg )
>
> why do I not get 640 480??
>
>
>
> http://www.codershangout.com

 

Navigation:

[Reply to this 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

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