--- Nick Jones <[EMAIL PROTECTED]> wrote: > I thought the backslash "\" is the escape character in PHP. Wouldn't you need > two of them to make this work? > > $lines = file($backupDir.'\\'.$_POST['backupfileName']); > > My $0.02 > -Nick
No. Not if it is in "hard" single quotes. Special characters are processed only in "soft" double quotes. Hence only in double quotes do special characters need to be escaped with the backslash. James