I have website selling charge cards, I use this code for selling to customers they verify the mobile number, manually (add a line every time) recently I use SMS service and numbers stored in text file in the site, how can remove these lines, and I get the numbers from the .txt files? (the numbers stored line by line in txt file)
if ($data[mobile] AND !eregi("^09512362982$", $data[mobile]))
if ($data[mobile] AND !eregi("^09527415120$", $data[mobile]))
if ($data[mobile] AND !eregi("^09532247462$", $data[mobile]))
if ($data[mobile] AND !eregi("^09535241919$", $data[mobile]))
if ($data[mobile] AND !eregi("^09535716327$", $data[mobile]))
$error .= "Mobile number not valid, please verify your number<br />";