How to Array and search
Posted: Tue Mar 30, 2010 4:09 am
i wanna ask about , in my situation i have a big chunk of string, e string contain several video path such as http://domain.com/something.flv and http://domain.com/something.mp4 , i wanna grab all substring in e string($content) that start with http and end with either.flv or .mp4 , add them to array, and do a loop to call array index 0 to index n base on the array size.