Hello,
I'm using PHP Version 4.0.3pl1 on Windows 95 and I need to open an FTP connection. When I try to open it this error occours:"Warning: Unable to find ftpbuf 0 in c:\inetpub\wwwroot\ftp_management\ftp.php on line 6".
I downloaded php_ftp.dll and I copy it in the extension directory.
I added "extension=php_ftp.dll" under the windows extension of php.ini file but when I try to run phpinfo() or another php script Apache and PHP crash!!
This is my code:
"$ftp = ftp_connect($HOST) or die ('Connessione FTP non riuscita');
print 'Connessione FTP riuscita';
$con = ftp_login ($ftp, $USERNAME, $PASSWORD) or die ('Login FTP non riuscito');
print 'Login FTP riuscito';
ftp_chdir($fp, $START_DIR);
print ftp_pwd($ftp);
ftp_quit($ftp);"
Please help me cause I need to delivery my work on next monday!!!!
petitlaura