[PHP-users 12788] Re: 【リモートファイルの操作について】

shin1 nomoto php-users@php.gr.jp
Fri, 24 Jan 2003 13:56:15 +0900


>fopenを使用してリモートファイルを読み込もうとしているのですが
>うまくいきません。
>
>サーバを:http://www.test.com とします。
>読み込みたいファイルが:/home/USER/public_html/index.html
>であるとします。
>
>コードは
>-----------------------------------------------------------------
>$file = "http://www.test.com/home/USER/public_html/index.html";

FTPじゃないので、ブラウザに入れて表示されるURLを入れないと。。