How does PHP get the address of a picture on a remote website? Do you have any ideas?
For example, to get Baidu's background image of the path
https://ss0.baidu.com/7Po3dSag_xI4khGko9WTAnF6hhy/super/crop%3D229%2C229%2C1770%2C1103/sign= C9810c80b61c8701c2f9e8a61a4dac16/d1a20cf431adcbef91fbcc62a9af2edda2cc9f83.jpg
Reply to discussion (solution)
File_get_contents + preg_match_all?
File_get_contents + preg_match_all?
Not regular, how to match the image jpg it?
https://ss0.baidu.com/7Po3dSag_xI4khGko9WTAnF6hhy/super/crop%3D229%2C229%2C1770%2C1103/sign= C9810c80b61c8701c2f9e8a61a4dac16/d1a20cf431adcbef91fbcc62a9af2edda2cc9f83.jpg
That's not it, is it? You know, you can use it to get it.
https://ss0.baidu.com/7Po3dSag_xI4khGko9WTAnF6hhy/super/crop%3D229%2C229%2C1770%2C1103/sign= C9810c80b61c8701c2f9e8a61a4dac16/d1a20cf431adcbef91fbcc62a9af2edda2cc9f83.jpg
That's not it, is it? You know, you can use it to get it.
I just give an example of Baidu, to a URL, and then get the picture in this URL
Reference: http://www.jb51.net/article/51715.htm