Re: How to delete files?

From: Date: Tue, 06 Mar 2001 01:10:14 +0000
Subject: Re: How to delete files?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5841@lists.php.net to get a copy of this message
Change PHP version. AFAIK, version 4.0.1 had that clear bug (check out the commented manual at php.net, it's probably still there). Install the latest version (4.0.4pl1). The function name is unlink(), not delete(). Gonzalo. > Hi! > I'm a newbie in PHP and want to ask: how to delete files in PHP? > I tried to use unlink() function:> Then I used delete ("mypic.jpg"); and got > "Fatal error: Call to undefined > function: delete()" > I have PHP Version 4.0.1pl2 under Apache 1.3.7 on Windows NT4.0 with Service > Pack 6. > Thanks. > Alex.

« previous php.windows (#5841) next »