CAn anyone tell me why none of the code below prints out in the IF statement. The rest works. The variables are being passed in and are not blank.
<?php
if (isset($_REQUEST["try"])){
echo "sdsdsd<br>\n";
echo $_POST["user"]."<br>\n";
echo $_POST["pass"]."<br>\n";
echo $_POST["popServer"]."<br>\n";
$inbox = @imap_open("\{" . $_POST["popServer"] . ":110/pop3/notls}INBOX", $_POST["user"], $_POST["pass"]);
$foo = @imap_errors();
if(!$inbox){
echo "you do not have a valid inbox";
}else{
echo "you have a valid inbox";
}
@imap_close($inbox);
}
?>