turnley.dev

PHP and MySQL code for faucet operators

Tools & Calculators

LEG-001

The policy pages a faucet actually needs

Terms, privacy and a plain statement of the earning rules — as editable database rows, not hardcoded markup, so they can be kept honest.

Two things make policy pages worth attention on a site like this. Ad networks and payment processors check for them before approving an account, and a written earning policy is what settles disputes about withheld balances.

Copying another faucet's terms wholesale is the common approach and a poor one: they will describe features you do not have and omit the ones you do. The parts that matter are specific to your site — how earnings accrue, what voids them, what happens to a balance when an account is closed.

Keep them in the database with a visible last-updated date. A policy nobody can edit is a policy that stops being true.",

PHP
/*
CREATE TABLE pages (
  id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
  slug VARCHAR(80) NOT NULL,
  title VARCHAR(160) NOT NULL,
  body MEDIUMTEXT NULL,
  in_footer TINYINT NOT NULL DEFAULT 1,
  updated_at DATETIME NOT NULL,
  UNIQUE KEY uq_page_slug (slug)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
*/

// The sections that actually get referred to when something goes wrong:
$sections = [
    'Who runs this site'      => 'A contact address that works. Processors check.',
    'How earnings work'       => 'Rates, cooldowns, and that rates can change with notice.',
    'What voids earnings'     => 'Multiple accounts, automation, proxies, ad fraud — '
                               . 'named specifically, because this is the clause you will rely on.',
    'Withdrawals'             => 'Minimums, fees, expected timing, and that a payout may be '
                               . 'held for review.',
    'Closing an account'      => 'What happens to a balance. Say it plainly either way.',
    'Changes to these terms'  => 'How changes are announced and when they take effect.',
];

// Render with the same text_block helper as any other page, and always show:
// "Last updated {date}" from pages.updated_at — a policy with no date is not
// one anybody can rely on, including you.

Using it

Write the voided-earnings clause before you need it. Withholding a balance without a policy that says you may is a dispute you lose.

Name a real contact address. A site handling money with no way to reach a human fails processor review and looks like a scam to users.

Get a lawyer's eye on it if real money is involved at any scale. This is a checklist of what to cover, not legal advice.

What bites people

Do not claim compliance with regulations you have not read. Saying you are GDPR compliant is a promise, not a badge.

Terms cannot retroactively justify keeping a balance. Publish before you enforce.

If you copy another site's policy, at minimum remove the features you do not have. Users read them, and a terms page describing a mobile app you never built destroys the credibility of everything else on the site.

Also in Legal and Compliance