RE: [PHP-WIN] unlink() problem with PHP

From: Date: Tue, 20 Feb 2001 13:59:48 +0000
Subject: RE: [PHP-WIN] unlink() problem with PHP
Groups: php.windows 
Request: Send a blank email to php-windows+get-5653@lists.php.net to get a copy of this message
You might want to double check your unlink line... unlink( "D:/must/use/forward/slashes.txt" ); Also, try creating a file with PHP (via upload) and then see if you can delete it. --------------------- John Asendorf - jasendorf@lcounty.com Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Mihai Matei [mailto:mihaimateig@yahoo.com] > Sent: Sunday, February 20, 2000 6:13 AM > To: php-windows@lists.php.net > Subject: [PHP-WIN] unlink() problem with PHP > > > Hy everybody. > > I am using PHP4.01 as CGI on IIS . The OS is NT. I am > trying to erase some file using unlink() from a directory > with access rights corectly set (read/write/execute). The > error message i get is "unlink() is not supported under this > build of PHP" (or something like this...). I have the corect > manual for this build, and it doesn't mention anything about > not suporting the unlink() function, so i guess the error > message ie eronated :). I tried a different aproach of this > situation, so i tried to delete the file using exec() & > system() and it didn't worked. I would like to know if there > is a different way to erase a file, create and remove a > directory from within PHP or i have to use a different > language (lige ASP..) for this task? Thank you. > > MMG >

« previous php.windows (#5653) next »