Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Alessandro Pellizzari Newsgroups: it.comp.www.php Subject: =?UTF-8?Q?Re:_path_locali_=c3=a8_path_remoti?= Date: Thu, 23 Nov 2017 11:25:27 +0000 Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net hr/eQXTjaD4b1GGKOzBJEgmPDcGaAR5JfH8cicDpqry29Q6j4= Cancel-Lock: sha1:4hL+XNeS977MQGU4PBlz3nm7c64= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 In-Reply-To: Content-Language: en-GB Xref: csiph.com it.comp.www.php:21802 On 22/11/2017 16:56, alex wrote: > $path1='/a/b/c'; > $path2='http://a/b/c'; > $path3='https://a/b/c'; > $path4='ftp://a/b/c'; > $path5='ssh:/a/b/c'; Quest'ultimo è sbagliato: "ssh://host/a/b/c" Tutti gli URI hanno "://", puoi controllare quello. Ma non è detto che siano remoti. Per esempio "file://" è locale. E ce ne sono altri predefiniti (http://php.net/manual/en/wrappers.php) oltre a quelli che puoi definire da solo. Credo dovresti ripensare quello che stai facendo. Bye.