Problem converting path string from "/", "\"
- by justjoe
i got this code
$current_path = str_replace('\', '/', getcwd()); //c://xampp/htdoc
Why it fail replace '\' with '/' in directory patch ? why is the reason and how to handle this problem ?