Whats wrong with
if (($x > 0 && 256 <= $x) || ($y > 0 && 256 <= $y)) {
//Do AWESOME action here
} else {
echo '<br><div align="center"><b>X and Y must be over 0 but equal or less than 256.</b></div>';
}
? That means if X is over 0 and X is 256 or less and y is over 0 and less then or equal to 256, to do somthing, right? I put in x 237 and y 144, it gives me a error saying "X and Y must be over 0 but equal or less than 256."