Does anyone have any idea why this would not work? Variables are all set - here is the script:
(Attempting to create a new email account via cpanel)
$fp = fsockopen($host, 2082);
$auth = $user.":".$pass;
$pass = base64_encode($auth);
$in = "GET frontend/x/mail/doaddpop.html?email=$email&domain=$domain&password=$emailpass"a=$quota\r\n HTTP/1.0\r\nAuthorization: Basic $pass \r\n";
fputs($fp,$in);
fclose($fp);
Basically everything I read is the same, yet when I attempt it, it simply fails silently.
Thanks 🙂