Re: Why FTP function error
| From: | Ermanno Iannacci | Date: | Fri, 04 Aug 2000 09:52:22 +0000 |
| Subject: | Re: Why FTP function error | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1547@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Pang Chunfeng" <Pcf@wondersgroup.com>
To: <php-windows@lists.php.net>
Sent: Wednesday, August 02, 2000 10:00 AM
Subject: [PHP-WIN] Why FTP function error
> Hi,
> I'm using PHP 4.0.0 using PWS under Win95 .
> I wrote in PHP file like this :
> <?php
> ftp_connect("somehostip");
> ?>
> But it always shows the error:
> Fatal error: Call to undefined function: ftp_connect()
> I don't know why.And I have php_ftp.dll under c:\windows\system.
> Any idea is much appreciated.
>
You also have to change your php.ini and add, in the windows extensions
section, the line "extension=php_ftp.dll"