Stuck in a sinple str_replace?

Please delete post!

That won’t work if you’re trying it on the actual file. If you need to rename the file, try rename()