Have you tried using the UNLINK command? www.php.net/unlink
unlink ( "d:/home/lineagialla/img/img_colonna1.gif" );
Also, if the system is trying to access the file you are requesting, you're
going to have problems. I have a nice long story about that that I'll share
with everyone some day at bedtime.
John
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
The benefit to the government of replacing all $1 Federal Reserve notes with
$1 coins would be $522.2 million per year, according to estimates of the
General Accouting Office released on April 7, 2000.
> -----Original Message-----
> From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 5:54 AM
> To: php-windows
> Subject: [PHP-WIN] warnings and their meanings and fork in
> particular...
>
>
> hi,
> is there somewhere I can find the possible meaning,
> (suggested solutions or something like that) to the
> error msgs and warinings?
>
> I am running php4.0.4pl1 on NT4.0 w/ IIS4.0,
>
> While trying to delete a file prior to upload i get the
> following error, i dont understand what it means
> by "fork", the file to delete is there and what im trying
> to do is delete the file to the be able to copy a diffrent
> file in its place (which has the same filename) but it
> doesnt overwrite the file...
>
> Warning: Unable to fork [del
> d:\home\lineagialla\img\img_colonna1.gif] in
> D:\home\lineagialla\riservata\index.php on line 177
>
> the code i am reffering to is:
>
> system( "del d:\\home\\lineagialla\\img\\img_colonna1.gif" );
> copy( $userfile, "d:\\home\\lineagialla\\img\\img_colonna1.gif");
>
>
> --
> 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]
>
--
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]