how about just 

       if (file_exists($dest_file)) {
           unlink ($dest_file);

         }

----- Original Message ----- 
From: "Charles Kline" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 17, 2003 6:04 PM
Subject: Re: [PHP] File System


> $result = unlink("file.txt") or die("Operation failed!');
> 
> On Monday, March 17, 2003, at 12:58 AM, Philip J. Newman wrote:
> 
> > How do i delete a file  ... ?
> >
> > kill?? dele *srugs*
> >
> > ------
> > Philip J. Newman.
> > Head Developer
> > [EMAIL PROTECTED]
> >
> > +64 (9) 576 9491
> > +64 021-048-3999
> >
> >
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to