Click to See Complete Forum and Search --> : upgrade to php5 include not working


tombstone
07-13-2006, 08:01 AM
I have this include statement...
if($_POST['submit'] && !$_SESSION['loggedin'])
{
include("./checklogin.php");
}


it worked under php 4.whatever I upgrade to php5 and it stopped working. I know it is making it to the IF statement I did an echo in there and that was fine.

Thanks
Tom

NogDog
07-13-2006, 09:48 AM
What error message do you get? (If none, have you tried setting error_reporting(E_ALL); before that code gets executed?)