Skip to content
Advertisement

Tag: txt

After changing name of a file it goes parent directory

I’m writing a PHP code that takes names from input.txt file and with those names it changes the names of files in the image folder. My code is: It works but at last, files in the ‘image’ folder go C:wamp64wwwReplace image names with input directory. (Parent directory) Any idea why this happens? Answer To make it more clear. Here is

Advertisement