Found the reason, but the original post cannot reply, also cannot modify
Let's summarize:
To match all the image addresses in a web address, write a regular expression like this:
$reg = "/\" \ ']*)/I ";
Why image file address like the following:
can only match to:
The reason is that the browser ... I'm using chrome.
$reg = "/\" \ ']*)/i "; $s =";p reg_match_all ($reg, $s, $m);p Rint_r ($m);
Post-run output:
Array ( [0] = = Array (
Chrome puts the back
Array ( [0] = =. /images/album cover/album_012.jpg ))
It's all erased! And in the source code, that is to see the last page source code also see this paragraph! Change Firefox, above this paragraph directly on the page also can't see, see source code can find this paragraph, and is marked with red, this decisive is forcing me to change Firefox?
Reply to discussion (solution)
....
Echo '
';
....
Echo '
';
Print_r ($m);
Add a, that is, the output of the above results, it should be chrome security measures, the results of the bad code deleted, do not believe you can change a chrome, my chrome version is 29.0.1541.0
Tried it, as if it were so. Then use Firefox.