Wade Smart wrote: > > > > I'm certainly no Windoze guy, but don't you have to use a back slash > > instead of a forward slash in windows? > > For instance: > > $lines = file($backupDir.'\'.$_POST['backupfileName']); > > > > William Piper > > 03132008 1557 GMT-6 > > I did try that but it creates an error. > But that is what I thought as well. > > Wade
What is the error that you received? If all else fails... debug! Do a print_r($_POST); and make sure that you are getting what you are expecting. if file($backupDir) works but not file($backupDir.'/'.$_POST['backupfileName']), maybe there is a permission problem on that subdir. bp