I'm using this code currently to just display how many emails there are in my inbox, but it just displays a blank page after I submit the form. IMAP is set up correctly, and I'm using AppServ 1.9.0 on Windows 98.
function main2($pop_server, $username, $password) {
// Open POP3 server
$inbox = @imap_open ("{". $pop_server . "/pop3:110}", $username, $password);
$total = imap_num_msg($inbox);
echo "$total";
}
Why isn't this working?