View Single Post
Old 04-24-2026, 04:34 PM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,849
Quote:
Originally Posted by NatalieK View Post
been verified & have everything ready but not understanding any of the integration or how to use it on our site
Login.
Click "My account" at the top right and select "Hosted implementation".
Now click the edit icon for the domain.
Scroll down the page until you see the javascript code.
Copy and paste the code right after the opening body tag on your site.
Now click the red button to "validate" your site by uploading the file they give you to
the domain root directory.

You can add a callback script to your site if you want.
Here is a simple one that counts the number of age verified surfers :
Change the script and file name so bots don't find it.

PHP Code:
<?php
//go.cam callback

$num file_get_contents("callback_count.txt");
$num +=1;
file_put_contents("callback_count.txt",$num);

echo 
"OK";
exit();

?>
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote