How to GET a READ from php into a variable (allways 1 or 0)

You need to post the complete program.

...R