I want to check if a boolean is true or false from antoher phpscript.
Like if I have a boolean like this in one php script:
$signedin = false;
then I want to check if it is false or true by another php script in another file.
I hope someone can help me! 🙂
Thanks!
For checking the status of a signed in user, you’ll generally want to use sessions, like
Then on any script, you’d just check that variable:
To literally answer your question though, here:
scriptA.php
scriptB