[PHP] Re: I need a useful sample code for opening from ftp servers using fopen() or file() commands

2002-09-03 Thread nicos
Hi, You should read www.php.net/fopen : If filename begins with ftp://; (not case sensitive), an ftp connection to the specified server is opened and a pointer to the requested file is returned. If the server does not support passive mode ftp, this will fail. You can open files for either

[PHP] Re: I need a useful sample code for opening from ftp servers using fopen() or file() commands

2002-09-03 Thread nicos
Note that you can use also: $content = implode(,file($filename)); but I dont know if file() works with ftp. You should use my first tip anyway. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Javier Campo Martinez [EMAIL PROTECTED] a écrit dans le