<无详细内容>
- function pickupImage($html) {
- preg_match_all('//U', $html, $matches, PREG_PATTERN_ORDER);
- if(count($matches[0]) > 0) {
- foreach ($matches[0] as $match)
- {
- preg_match('/src="http://img.gxlcms.com/(.+)"/U', $match, $src);
- return $src[1];
- }
- }
- else
- return '';
- }
|