All,
I'm having trouble creating an pop account usaign fsockopen(), here is whaty
I have... is connects ok but does not seem to execite the GET.
$fp = fsockopen ($host, 2082,$errno,$errstr);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
} else {
$authstr = "$cpaneluser:$cpanelpass";
$pass = base64_encode($authstr);
$in = "GET
/frontend/$cpaneltheme/mail/doaddpop.html?email=$newuser&domain=$domain&pass
word=$mpassword"a=$quota\r\n HTTP/1.0\r\nAuthorization: Basic $pass\r\n
";
fputs($fp, $in);
fclose ( $fp );
echo "<center>ACCOUNT CREATED</center>";
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php