No bug in PHP...
either use 'c:\' or "c:\"
why? because the content between the "'s gets 'parsed' by PHP. For instance, if you want a double quote inside your string you could do
"djsdjslkqjqlk \" idfljlk"
the \ makes sure the " in the middle doesn't indicate the end of the string. In your case, PHP thinks the " after the \ is also part of the string, and thus it doesn't find a closing ". If you want to put a \ in your string, you have to escape the \ with another . That's why you need to use \... Or use single quotes instead of double quotes, because php doesn't parse the content between single quotes...
Another example : in PHP you could do something like this :
echo "hello $name";
this would replace (parse) $name with the value of the variable, even though it's between quotes (some other languages don't allow you to do this...
Now what if you want $name to be echo'd litterally, and not it's value? do it like this :
echo "hello \$name"; // escape the $
or
echo 'hello $name'; // use single quotes
Hope this helps you...
Sven Magnus