Hey , I got php script which creates folders for me , the problem is script adds \r symbol to the end of each folder, those names script takes from the text file, so is there any way to open text file to see is there any hidden \r symbols there ? Like I know if you just open text file in editor you can not see any hidden symbols like new line \n NEED YOUR HELP
\r is a new line also... it's called a carriage return [I think] What you could do is preg_replace these when creating the name, or substr each name before creating it by 2 from the end?
is that $result=preg_replace('\r','',$source) or I should use some special symbols to describe that \r ?