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
[EMAIL PROTECTED]
www.captainjack.com

----- Original Message -----
From: "Wo Chang" <[EMAIL PROTECTED]>
To: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: "Wo Chang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> www.captainjack.com
>
> ----- Original Message -----
> From: "Wo Chang" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to