Article View: pl.comp.lang.php
Article #220328Re: Zdalny upload z jednego serwera na drugi
From: Diabół
Date: Fri, 28 Aug 2009 11:23
Date: Fri, 28 Aug 2009 11:23
43 lines
2500 bytes
2500 bytes
ant pisze:
> Diabół wrote:
>> No.... to było tak: znalazłem jakiś tutorial do PHP i tam było o:
>> or die();
>> No i tak szukałem gdzie się ten skrypt zatrzymuje. No i zatrzymuje się
>> na handle = fopen($zdalny_plik, "r");
>
> Wstaw przed fopen:
>
> error_reporting(E_ALL);
> ini_set('display_errors', 'on');
>
> i pokaż tez co zwraca:
>
> echo ini_get('allow_url_fopen');
>
Warning: fopen() [function.fopen]: URL file-access is disabled in the
server configuration in /home/vol7/39811/htdocs/grab/index.php on line 18
Warning: fopen(http://moj.stary.serwer/0001.jpg ) [function.fopen]:
failed to open stream: no suitable wrapper could be found in
/home/vol7/39811/htdocs/grab/index.php on line 18
off
Warning: filesize() [function.filesize]: stat failed for
http://moj.stary.serwer/0001.jpg in
/home/vol7/39811/htdocs/grab/index.php on line 20
Warning: fread(): supplied argument is not a valid stream resource in
/home/vol7/39811/htdocs/grab/index.php on line 20
Warning: fclose(): supplied argument is not a valid stream resource in
/home/vol7/39811/htdocs/grab/index.php on line 21
Warning: fgets(): 4 is not a valid stream resource in
/home/vol7/39811/htdocs/grab/index.php on line 7
Warning: fclose(): 4 is not a valid stream resource in
/home/vol7/39811/htdocs/grab/index.php on line 27
Hmmm... file-access is disabled in the server configuration to chyba
wszystko wyjaśnia.
Technical Details
Message-ID:
<h78eod$kuf$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mailReferences:
<h7186a$s0t$1@news.onet.pl> <h72cf5$tpp$1@node1.news.atman.pl> <h72sqe$hl4$1@news.onet.pl> <h7308e$tl$1@node1.news.atman.pl> <h7551v$mbm$2@news.onet.pl> <h755di$ioc$1@node2.news.atman.pl> <h763aa$ks7$1@news.onet.pl> <h763sk$ed1$1@atlantis.news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail From: Diabół <don_ciccio@onet.eu> Newsgroups: pl.comp.lang.php Subject: Re: Zdalny upload z jednego serwera na drugi Date: Fri, 28 Aug 2009 13:23:47 +0200 Organization: http://onet.pl Lines: 43 Message-ID: <h78eod$kuf$1@news.onet.pl> References: <h7186a$s0t$1@news.onet.pl> <h72cf5$tpp$1@node1.news.atman.pl> <h72sqe$hl4$1@news.onet.pl> <h7308e$tl$1@node1.news.atman.pl> <h7551v$mbm$2@news.onet.pl> <h755di$ioc$1@node2.news.atman.pl> <h763aa$ks7$1@news.onet.pl> <h763sk$ed1$1@atlantis.news.neostrada.pl> NNTP-Posting-Host: 188.33.3.110 Mime-Version: 1.0 X-Trace: news.onet.pl 1251458638 21455 188.33.3.110 (28 Aug 2009 11:23:58 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Fri, 28 Aug 2009 11:23:58 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <h763sk$ed1$1@atlantis.news.neostrada.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit