Re: ftp_connect Again..
| From: | Eris Ristemena | Date: | Thu, 13 Jul 2000 13:41:44 +0000 |
| Subject: | Re: ftp_connect Again.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6439@lists.php.net to get a copy of this message | ||
try reinstall your PHP using --enable-ftp
-eris
-----Original Message-----
From: Emilio Escobar <eescobar@isla.net>
To: php-general@lists.php.net <php-general@lists.php.net>
Date: Thursday, July 13, 2000 8:32 PM
Subject: [PHP] ftp_connect Again..
>Any reason why I get this:
> Fatal error: Call to unsupported or undefined function ftp_connect() in
>/www/htdocs/phpftp/upload.php3 on line 4
>
>It will not happen if I use @ftp_connect, but
> $fp = @ftp_connect('hostname');
> if (!$fp) {
> echo "Connection refused";
> } else {
> echo "Connection established";
> }
>doens't work, it just loads a blank page..
>Any ideas?
>
>/**
> * Emilio Escobar
> * skill@skill.org
> * - Great spirits have always encountered
> * strong oppositions from mediocre minds. -
>*/
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>