On Tue, 28 May 2002, Jimmy Lantz wrote: > (Unlink(file) == rm file) ? (ignore this mail):(explain diffs); > > Does PHP unlink function handle deletion of files equally as the "rm" > command on the system in my case FreeBSD. > Or does it involve caching/handling files in any different way?
It just calls the OS unlink() function, which is presumably what rm does. Actually I just did a trace and that's exactly what rm does. rm of course has a whole lot of extra options, but they just affect which files it acts on. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php