I'm working on a class to get mails and saves it i an archive.
To grab the inlined images of the message i use 'preg_match_all' to grab the path to the images, which will be changed later.
It works perfect in this example:
In this example the above search pattern does not work because it only has a wildcard behind the $SearchImageName. But I can't make it work with a wildcard in front of the $SearchImageName.
I also have a problem with the file extension has been changed to .ashx instead of .jpg :
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks