Hi,
I use the following scrit in an Intranet with the user name = "" and
the password = "" :
<?php
$ftp_server = "192.168.25.25";
$ftp_user = "";
$ftp_pass = "";
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
$ftp_server");
if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) {
echo "Connected at $ftp_user@$ftp_server\n";
} else {
echo "Can't connect with $ftp_user\n";
}
?>
I have the following message :
Connected to 192.168.25.25
Warning: ftp_login(): 'USER': Invalid number of parameters in
E:\www\test_ftp.php on line 26
I tried to : ftp_login($conn_id, "", "") but i have the same result...
Does anybody have an idea ?
Thank in advance...