Got it to work using the code below.
I forgot the to put in the fclose ()function before the closing brace in my
first post.
Thank you D.
Creating a new file
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
You need to escape the back slashes like this:
$filename="C:\\My Documents\\Linda\\mydata1.txt";
> -Original Message-
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 12 December 2001 12:22 p.m.
> To: [EMAIL PROTECTED]
> Subject
I've got a file that already exists called:
mydata1.txt
I'm trying to test the code below so that if the file is found it will say:
File Exists
When I run the following script, it doesn't write out:
File Exists...
I get nothing on the screen.
eventhough I thought the code below would work.
An