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.



-- 
PHP Windows 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]

Reply via email to