For example
upload/vod/20180721/
upload/vod/20180720/
upload/vod/20180719/
...
are changed to
images/vod/20180721/
images/vod/20180720/
images/vod/20180719/
How to change it?
不愿将就2018-07-23 09:57:21
First use the explode function to adapt the string into an array, and then take the first subscript and change it, or use the substitution method. str_replace, check how to use it