Prepare your own verification code.
Make a list of all available codes and save them in an array ... Now check the entered code with in_array()
<?php $os = array("079", "040", "0891"); if (in_array($_POST['std'], $os)) { echo "Valid"; } else { echo "Enter a valid code"; }
source share