Re: how to make php 4.0 ftp lib work
| From: | Tyler Longren | Date: | Wed, 03 Apr 2002 20:31:14 +0000 |
| Subject: | Re: how to make php 4.0 ftp lib work | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91395@lists.php.net to get a copy of this message | ||
I guess I'm not really sure then. Just make sure that you used --enable-ftp
if you're using php4, and
--with-ftp if you're using php3. I don't know of any config settings that
need to be set in php.ini to enable ftp support.
If you don't end up getting the ftp functions to work, you could try using
php's filesystem functions:
http://www.php.net/manual/en/ref.filesystem.php
Other than that, I don't any suggestions. Good luck. ;-)
Tyler Longren
Captain Jack Communications
tyler@captainjack.com
www.captainjack.com
----- Original Message -----
From: "Wo Chang" <wchang@nist.gov>
To: "Tyler Longren" <tyler@captainjack.com>; <php-general@lists.php.net>
Sent: Wednesday, April 03, 2002 2:28 PM
Subject: Re: [PHP] how to make php 4.0 ftp lib work
Dear Tyler,
Thanks for your quick reply!!
Yes, I meant ftp_connect().
When I did the phpinfo() I can't see any ftp
setting. I re-started my apache and still
don't work.
Any hints?
Thanks!
--Wo
----- Original Message -----
From: "Tyler Longren" <tyler@captainjack.com>
To: "Wo Chang" <wchang@nist.gov>; <php-general@lists.php.net>
Sent: Wednesday, April 03, 2002 3:21 PM
Subject: Re: [PHP] how to make php 4.0 ftp lib work
> There is no ftp_connection() function.
>
> You're meaning to use ftp_connect();
>
> Read more about it here:
> http://www.php.net/manual/en/function.ftp-connect.php
>
> Tyler Longren
> Captain Jack Communications
> tyler@captainjack.com
> www.captainjack.com
>
> ----- Original Message -----
> From: "Wo Chang" <wchang@nist.gov>
> To: <php-general@lists.php.net>
> Sent: Wednesday, April 03, 2002 2:12 PM
> Subject: [PHP] how to make php 4.0 ftp lib work
>
>
> HI,
>
> I compiled the php.4.1.2 with --enable-ftp to try
> to make ftp works but it always complainting the
> function ftp_connection() not define.
>
> I'm running Sun's Solaris 8.
>
> Any hints?
>
> Thanks!
>
> --Wo
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>