Hi Axel and Ben,
My last post I noted a bunch of errors...but probably only the first one was true since I was directly calling ipn.php and not running through the entire process. Obviously this would cause those variables in my second set of errors to be unset (duh!)...but I was working all day so my head hurt and I didn't catch this.
Anyway, after looking at your response, Ben, I've tried what you said with the mail() function, I put this function in both the if and the else block, and it is in fact printing the $pp["form_id"] and $_POST['custom'] variables correctly. However, it isn't sending me doing this in the if block...only the else block. This lead me to believe that, at least in my install, the eregi("VERIFIED", $result) line is false.
I then printed the $result variable out in my mail function as well and that comes back blank. I'm trying to figure out what to do next.
My last post I noted a bunch of errors...but probably only the first one was true since I was directly calling ipn.php and not running through the entire process. Obviously this would cause those variables in my second set of errors to be unset (duh!)...but I was working all day so my head hurt and I didn't catch this.
Anyway, after looking at your response, Ben, I've tried what you said with the mail() function, I put this function in both the if and the else block, and it is in fact printing the $pp["form_id"] and $_POST['custom'] variables correctly. However, it isn't sending me doing this in the if block...only the else block. This lead me to believe that, at least in my install, the eregi("VERIFIED", $result) line is false.
I then printed the $result variable out in my mail function as well and that comes back blank. I'm trying to figure out what to do next.