Re: [PHP-WIN] Existing File...

2001-12-11 Thread Anthony Ritter
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]

RE: [PHP-WIN] Existing File...

2001-12-11 Thread Daniel Parsons
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

[PHP-WIN] Existing File...

2001-12-11 Thread Anthony Ritter
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