🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #230979

Re: Problem z usunięciem pliku po operacji download

#230979
From: Borys Pogoreło
Date: Mon, 18 May 2015 13:13
18 lines
1252 bytes
Dnia Mon, 18 May 2015 04:30:17 -0700 (PDT), mwitkowski2b@gmail.com
napisał(a):

>    if($usuwac_plik == '1')
>    {
>       // usuń plik
>       unlink($file);		
>    }
> }
> 
> Problem polega na tym, że plik nie jest usuwany. Aplikacja pracuje pod IIS 6.

Wartość zmiennej $usuwac_plik skąd się bierze? I czy na pewno masz w niej
'1'?

-- 
Borys Pogoreło
borys(#)leszno,edu,pl
Technical Details
Message-ID: <ccwg7xk0b89p$.sk80t8bwtkij$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mail
References: <5883811d-6a41-4aa4-92fd-68c5447b469b@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mail
From: Borys Pogoreło <borys@pl.edu.leszno>
Newsgroups: pl.comp.lang.php
Subject: Re: Problem z usunięciem pliku po operacji download
Date: Mon, 18 May 2015 15:13:50 +0200
Organization: snafu
Lines: 18
Message-ID: <ccwg7xk0b89p$.sk80t8bwtkij$.dlg@40tude.net>
References: <5883811d-6a41-4aa4-92fd-68c5447b469b@googlegroups.com>
NNTP-Posting-Host: emz63.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: thunar.promontel.net.pl 1431954818 32282 83.21.245.63 (18 May 2015 13:13:38 GMT)
X-Complaints-To: abuse@promontel.net.pl
NNTP-Posting-Date: Mon, 18 May 2015 13:13:38 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.14.1pl
X-fnord: obey.
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit