The first one works both ways!O and im working on windows This works fine : $loc = "./doos.txt" This works fine : $loc = ".\doos.txt"
The second one does work at all! Is it in the correct order/way? -----Original Message----- From: Fred [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 10:25 To: [EMAIL PROTECTED] Subject: [PHP] Re: Help with directory ! The first one looks like a *nix directory and the second one looks like a windows direcrory. Perhaps it will work if you switch your slashes around. Fred De Necker Henri <[EMAIL PROTECTED]> wrote in message 3A8ED7A62794D311AA7700508B6164EC08DCA3F2@SCPTS01">news:3A8ED7A62794D311AA7700508B6164EC08DCA3F2@SCPTS01... > Hi there.Im cant just get to access a file in a directory form my localhost > dir. > The file : $loc = "./doos.txt" i can access, > > but the following i can't : $loc = ".\files\doos.txt" > What am i doibg wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]