Page 1 of 1
ftp function prob
Posted: Sun Aug 01, 2004 2:28 am
by phpcoder
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
Posted: Sun Aug 01, 2004 2:38 am
by feyd
did you run
to make sure ftp functions were enabled?
Posted: Sun Aug 01, 2004 2:46 am
by phpcoder
feyd wrote:did you run
to make sure ftp functions were enabled?
I have checked it but there is nothing for ftp and i havnt changed anything in php.ini file .
Posted: Sun Aug 01, 2004 3:01 am
by feyd
sounds like ftp is disabled, try following the instructions on the manual's page (:arrow: [php_man]ftp[/php_man]) about enabling ftp..
Posted: Sun Aug 01, 2004 12:57 pm
by phpcoder
feyd wrote:sounds like ftp is disabled, try following the instructions on the manual's page (:arrow: [php_man]ftp[/php_man]) about enabling ftp..
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 me
Posted: Sun Aug 01, 2004 1:06 pm
by feyd
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.
Posted: Sun Aug 01, 2004 1:13 pm
by phpcoder
feyd 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.
Thanks for ur reply i red this on ftp manual so i think i have to recompile and reinstall my PHP
