Problem converting path string from "/", "\"

Posted by justjoe on Stack Overflow See other posts from Stack Overflow or by justjoe
Published on 2010-03-27T13:09:04Z Indexed on 2010/03/27 13:13 UTC
Read the original article Hit count: 312

Filed under:
|
|

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 ?

© Stack Overflow or respective owner

Related posts about php

Related posts about string