Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = $_POST['email'];
- $password = $_POST['pass'];
- $cpaneldomain = 'example.com';
- $email = $_POST['email'];
- $emaildomain = 'example.com';
- $newpass = $_POST['newpass'];
- if($_POST['newpass']=="")
- {
- echo "";
- }
- else if($_POST['newpass']==$_POST['newpass2'])
- {
- echo "New password submitted.";
- @file("http://$username@$emaildomain:$password@$cpaneldomain:2095/webmail/x/mail/dopasswdpop.html?redirectdomain=&email=$email&domain=$emaildomain&password=$newpass");
- }
- else
- {
- echo "The two new password fields must be the same.";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement