|
Posted by Jerry Stuckle on 08/02/07 16:58
Florian Erfurth wrote:
> Jerry Stuckle wrote:
>
>> Florian Erfurth wrote:
>>> ELINTPimp wrote:
>>>
>>>> On Jul 30, 12:16 pm, Florian Erfurth <floh-erfu...@arcor.de> wrote:
>>>>> 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 inhttp://www.php-homepage.de/manual/(by
>>>>> the way, this is a good manual! :) ).
>>>>>
>>>>> Thank you very much!
>>>>> cu Floh
>>>> 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.
>>> Even that doesn't work. But I've discussed with my colleague and we
>>> decided to use ftp instead of smb.
>>>
>> I hope you're not trying to do this "live" every time the web page is
>> loaded...
> I know... it's way to slow so we redecided to use mySQL instead.
>
FTP wasn't made for live file access :-)
> Thank you.
> Floh
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|