Hello Brian,
Monday, March 15, 2004, 2:42:14 PM, you wrote:
BJC> I'm having a problem using the mkdir() function under windows when the
BJC> directory containts a special character. For instance, the directory
BJC> "Someone's Files", a forward slash is added before the 's and the directory
BJC> returns an error. Is there a way around this?
This works fine for me on a Windows XP box:
<?
if (mkdir("D:\bob's") == TRUE)
{
echo "Directory created";
}
else
{
echo "Failed to create directory";
}
?>
how are you building the directory name? Or did you mean some other
"special" characters?
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php