Example Website Header

This page is an example of how to implement the Faucet Security challenge.

If you need help, feel free to send an email to support@faucetsecurity.com

loadHTMLFile("https://www.faucetsecurity.com/ips/".$ip); $resultdata=$doc->saveHTML(); //A simple method to parse the result from the result data //If your URL has the word "good" or "bad", you will need to parse it another way //*** REPLACE URL WITH YOUR SITE URL *** if (strpos($resultdata,"yourwebsite.com")!==false&&strpos($resultdata,"good")!==false){ $result="good"; }else{ $result="bad"; } //Check the result and do whatever you need to do. //You may combine this with Recaptcha and Solvemedia if ($result=="good"){ echo "Hello,".$name.", you are now logged in."; }else{ echo "Unable to log in. Incorrect challenge solution."; } //*** Include this line after processing the challenge result *** echo ""; } ?>




Example Website Footer