note 21690 added to function.fopen

From: Date: Thu, 23 May 2002 13:51:00 +0000
Subject: note 21690 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-30938@lists.php.net to get a copy of this message
Hi, In my page, I can acces files on another server to be play in Media Player by putting the path to those files in a playlist like this (this drive is map on my pc): fwrite($fp, "<REF href=\"H:/" .$path_salle."/".$path_date."/".$file ."\" />\r\n"); But when I try to open those files it always failed. Maybe I can't open files from a mapped drive ? @$fp2 = fopen("H:/" .$path_salle ."/" .$path_date ."/" .$file , "r"); So I would like to use something like : @$fp2 = fopen("file://user:password@server_ip/Records/".$path_salle ."/" .$path_date ."/" .$file , "r"); But look like I can't use file:// with fopen(). Also try with http:// but this server is not a web server so... Maybe I'm all confuse with all this but any help will be taken..;o) Styve -- http://www.php.net/manual/en/function.fopen.php http://master.php.net/manage/user-notes.php?action=edit+21690 http://master.php.net/manage/user-notes.php?action=delete+21690 http://master.php.net/manage/user-notes.php?action=reject+21690

« previous php.notes (#30938) next »