The code it self is pretty self explanatory, however i do not think it is very efficient at all. Is there a better way to do this?Its basically so i can track spam sites and save the sites into my honeypot db.<?php$site = $_GET['url'];$con=mysqli_connect(localhost,_,,_);// Check connectionif (mysqli_connect_errno()) {  echo Failed to connect to MySQL:  . mysqli_connect_error();}//Gamblingif (strpos($site, betting) ||strpos($site, blackjack) ||strpos($site, casino) ||strpos($site, craps) ||strpos($site, football) ||strpos($site, gamble) ||strpos($site, gambling) ||strpos($site, game) ||strpos($site, gaming) ||strpos($site, greyhound) ||strpos($site, highroller) ||strpos($site, lottery) ||strpos($site, lotto) ||strpos($site, odds) ||strpos($site, poker) ||strpos($site, racehorse) ||strpos($site, racing) ||strpos($site, roulette) ||strpos($site, royalflush) ||strpos($site, slotmachine) ||strpos($site, slots) ||strpos($site, slotsmachine) ||strpos($site, sport) ||strpos($site, wager) ||strpos($site, paigow) ||strpos($site, bingo) ||strpos($site, baccarat)){    //Insert into gambling    $result = mysqli_query($con,INSERT INTO `rocket_newsites`.`gambling` (`id`, `url`) VALUES (NULL, '$site'););}//Paydayif (strpos($site, payday) ||strpos($site, loan) ||strpos($site, bank) ||strpos($site, money) ||strpos($site, wonga) ||strpos($site, lender) ||strpos($site, credit) ||strpos($site, debt) ||strpos($site, repayment) ||strpos($site, mortgage)){    //Insert into payday    $result = mysqli_query($con,INSERT INTO `rocket_newsites`.`payday` (`id`, `url`) VALUES (NULL, '$site'););}//Lawyerif (strpos($site, law) ||strpos($site, solicitor) ||strpos($site, government) ||strpos($site, injury) ||strpos($site, personal) ||strpos($site, accident) ||strpos($site, advice) ||strpos($site, traffic)){    //Insert into lawyer    $result = mysqli_query($con,INSERT INTO `rocket_newsites`.`lawyer` (`id`, `url`) VALUES (NULL, '$site'););    }//Weight Lossif (strpos($site, weight) ||strpos($site, loss) ||strpos($site, pills) ||strpos($site, diet) ||strpos($site, garcinia) ||strpos($site, cambogia) ||strpos($site, acai) ||strpos($site, berry) ||strpos($site, raspberry) ||strpos($site, ketone) ||strpos($site, coffee) ||strpos($site, tea) ||strpos($site, health) ||strpos($site, lose) ||strpos($site, surgery) ||strpos($site, fat) ||strpos($site, dieting) ||strpos($site, exercise) ||strpos($site, workout) ||strpos($site, gym) ||strpos($site, hypnosis)){    //Insert into weight loss    $result = mysqli_query($con,INSERT INTO `rocket_newsites`.`weightloss` (`id`, `url`) VALUES (NULL, '$site'););    }//Insuranceif (strpos($site, ppi) ||strpos($site, insurance) ||strpos($site, payment) ||strpos($site, claim) ||strpos($site, calculator) ||strpos($site, finance) ||strpos($site, mis-sold)){    //Insert into insurance    $result = mysqli_query($con,INSERT INTO `rocket_newsites`.`insurance` (`id`, `url`) VALUES (NULL, '$site'););     }mysqli_close($con);exit();?> 
Check if URL contains different strings
php;mysql;mysqli