开发者

PHP: Rename a file without an ext

开发者 https://www.devze.com 2023-03-26 05:08 出处:网络
I have tried to use rename(\"/home/folder1/FILE开发者_运维百科\",\"/home/folder1/NEW\") However it does not work, FILE is a file without an ext so how do I make php recognize that?

I have tried to use

rename("/home/folder1/FILE开发者_运维百科","/home/folder1/NEW")

However it does not work, FILE is a file without an ext so how do I make php recognize that?

And yes I have chmodded it.


It's not a problem. You probably don't have the right to write inside the directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号