I'm trying to add email accounts for users using this code
But it does not want to add the accounts, anyone no whats wrong ?PHP Code:$host = "www.SpamClear.com";
$socket = fsockopen($host,2082);
$cuser = "myusername";
$cpassword = "mypassword";
$authstr = "$cuser:$cpassword";
$pass = base64_encode($authstr);
$in = "GET /frontend/default/mail/addpop.html?email=$username&domain=SpamClear.com&password=$password"a=$cquo HTTP/1.0\r\nAuthorization: Basic $pass \r\n";
fputs($socket,$in);
fclose( $socket );
We have the latest version of cpanel, and I removed my username and password from the code above
Thanks
cPanel.net Support Ticket Number:
cPanel.net Support Ticket Number:



LinkBack URL
About LinkBacks
Reply With Quote





