如何在url中的最后一个斜杠后添加字符串?
current url: https://example.org/gallery/images/my-image.jpg
我需要将“thumbs/”字符添加到最后一个斜杠中
函数或 php 代码必须更改地址,如下所示
https://example.org/gallery/images/thumbs/my-image.jpg
请指导我
浮云间
温温酱
相关分类