note 65209 deleted from function.ereg by bjori
| From: | bjori@php.net | Date: | Thu, 27 Apr 2006 00:20:24 +0000 |
| Subject: | note 65209 deleted from function.ereg by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109802@lists.php.net to get a copy of this message | ||
Note Submitter: letcr01 at hotmail dot com
----
Please help. I am a complete newb with PHP. I am basically trying to pull a full URL for an image
out of a page. The only constant in the image ends with '_m.jpg', it only occurs once in
the page and it can be anywhere on the page. Thanks in advance for any help. I tried the code
below, but it didnt work.
$in = file_get_contents("http://www.url.com/test") ;
preg_match ('/http://(.*)_m.jpg/sUi',$in,$regs) ;