Re: (Unlink(file) == rm file) ? (ignore this mail):(explain diffs);

From: Date: Tue, 28 May 2002 18:36:15 +0000
Subject: Re: (Unlink(file) == rm file) ? (ignore this mail):(explain diffs);
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99530@lists.php.net to get a copy of this message
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

« previous php.general (#99530) next »