You are here: Re: How can I access a file remotely? « PHP Programming Language « IT news, forums, messages
Re: How can I access a file remotely?

Posted by Jerry Stuckle on 08/03/07 18:06

Florian Erfurth wrote:
> Jerry Stuckle wrote:
>
>> Florian Erfurth wrote:
>>> Jerry Stuckle wrote:
>>>
>>>> Florian Erfurth wrote:
>>>>> ELINTPimp wrote:
>>>>>
>>>>>> If there isn't already a mechanism in place to work between the two
>>>>>> filesystems (Samba, netapp, even FTP), then it isn't going to work.
>>>>>> You need to get this resolved before you even start with PHP.
>>>>> Nope. And my colleague doesn't like to do that "outside" of php-script.
>>>>>
>>>> That wasn't his point. His point was, if there isn't a way to access
>>>> the file without PHP, PHP can't "magically" create a way to access it.
>>>> PHP can only automate what can be done manually.
>>> Ah... now I understand that. But what about the following code?
>>> http://smbwebclient.sourceforge.net/smbwebclient.phps So it's possible!
>>> (I think so)
>>>
>> Sure, that will work - if you install Samba on your server, as Rik
>> suggested. That provides a way to access the file remotely. PHP will
>> then be able to access it.
> Of course samba is installed on server. But unfortunatelly the PHP-script
> (smbwebclient.php) is huge, so I don't have idea how to access a file (I
> only want to read the content, not more).
>
> cu Floh

Well, is Samba is installed, can you access the file outside of PHP -
i.e. can you display or edit the file from the server's command line?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация