How can I access a file remotely?



Hi everyone,
as a Win-User he has to enter "\\intranet\logons$\wsa01.txt" in explorer in
order to open this file.
Now I'm writing a php-script on freeBSD. I don't have a idea how to access
this file. I already tried following:
fopen("//intranet/logons$/wsa01.txt");

But the file is not found. I think I have to use samba, am I right? But how
should I do that with php.

I'm really new in php and today I write the very first time a php-script. I
already looked in http://www.php-homepage.de/manual/ (by the way, this is a
good manual! :) ).

Thank you very much!
cu Floh
.



Relevant Pages

  • Re: fopen failed to open remote URL
    ... If I use it with a php-script which opens the url with fopen etc. ... failed to open stream: HTTP request failed! ... PHP Version 4.3.10-16 ... thx for any input ...
    (comp.lang.php)
  • Re: Haftbarkeit der Provider bei unsicherer PHP Konfiguration
    ... OpenSource Anwendung code injection betrieben wurde, ... http://de.php.net/register_globals) in der PHP Konfiguration des ... Auch ist es so, dass viele Scripte ohne register_globals nicht laufen, ... Erst in Verbindung mit einem PHP-Script, ...
    (de.soc.recht.datennetze)
  • Re: fopen failed to open remote URL
    ... If I use it with a php-script which opens the url with fopen etc. ... failed to open stream: HTTP request failed! ... PHP Version 4.3.10-16 ... thx for any input ...
    (comp.lang.php)
  • Re: How can I access a file remotely?
    ... I'm really new in php and today I write the very first time a php-script. ... filesystems (Samba, netapp, even FTP), then it isn't going to work. ...
    (comp.lang.php)
  • Re: How can I access a file remotely?
    ... Now I'm writing a php-script on freeBSD. ... I think I have to use samba, ... I'm really new in php and today I write the very first time a php-script. ...
    (comp.lang.php)