Replace ghost with images20 php to write a page, retrieve the address from the mysql database, and replace the image address with regular expressions.
Php writes a page, extracts the address from the mysql database, and replaces the image address with a regular expression.
This is a URL/huwaixie-b0-min0-max0-attr0-6-goods_id-DESC/images/201204/thumb_img/622_thumb_G_1333582619422.jpg
Replace
Images/201204/thumb_img/622_thumb_G_1333582619422.jpg
Requires complete page code
------ Solution --------------------
Simply put
PHP code
------ Solution --------------------
Discussion
Php writes a page, extracts the address from the mysql database, and replaces the image address with a regular expression.
This is a URL/huwaixie-b0-min0-max0-attr0-6-goods_id-DESC/images/201204/thumb_img/622_thumb_G_1333582619422.jpg
Replace
Images/201204/thumb_img/622_thumb_G_1333582619422.jpg
......