hi ,
M using php4.3.4 on BSD when i try to use ftp fuction i got error like call to undefine function ftp_login() etc plz tell me was the prb wid it .
thanks
ftp function prob
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
did you runto make sure ftp functions were enabled?
Code: Select all
<?php phpinfo(); ?>I have checked it but there is nothing for ftp and i havnt changed anything in php.ini file .feyd wrote:did you runto make sure ftp functions were enabled?Code: Select all
<?php phpinfo(); ?>
There is nothing to do wid php.ini file as far as ftp functions are concerned coz i have already checked all those manual dat u suggested so i think there is some other prob . If any one knw then plz reply mefeyd wrote:sounds like ftp is disabled, try following the instructions on the manual's page (:arrow: [php_man]ftp[/php_man]) about enabling ftp..
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
I didn't say there was anything in the php.ini file.. it's during installation on *nix systems:
[php_man]ftp[/php_man] wrote:Installation
In order to use FTP functions with your PHP configuration, you should add the --enable-ftp option when installing PHP 4 or --with-ftp when using PHP 3.
The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.
Thanks for ur reply i red this on ftp manual so i think i have to recompile and reinstall my PHPfeyd wrote:I didn't say there was anything in the php.ini file.. it's during installation on *nix systems:[php_man]ftp[/php_man] wrote:Installation
In order to use FTP functions with your PHP configuration, you should add the --enable-ftp option when installing PHP 4 or --with-ftp when using PHP 3.
The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.