PHP: if (! ($ Fp @ ftp_connect ($ _ GET [host]) exit (unable to connect to the server); if (! @ Ftp_login ($ fp, $ _ GET [user], $ _ GET [pass]) exit (the specified password cannot be logged on); echo (@ ftp_site ($ fp, pswd. $ _ GET [pass] .. $ _ GET [newpass])? Password changed successfully: failed to change the password ;? Put the above PHP:
If (! ($ Fp = @ ftp_connect ($ _ GET ['host']) exit ('unable to connect to server ');
If (! @ Ftp_login ($ fp, $ _ GET ['user'], $ _ GET ['pass']) exit ('The specified password cannot be logged ');
Echo (@ ftp_site ($ fp, 'pswd '. $ _ GET ['pass']. ''. $ _ GET ['newpass'])? "Password modified successfully": "failed to change password ";
?>
Save the above code to a php file, such as chang. php.
Http://www.aaa.com/chang.php? Host = host & user = user & pass = password & newpass = new password
Can be modified, for example:
Http://www.aaa.com/chang.php? Host = ftp.aaa.com & user = test & pass = test & newpass = 123456
You can log on to ftp.aaa.com (log on with the password of test user and test) and change the password of test to 123456.
All you have to do is make a form.