Rebrand: UK AI Automation — new domain, logo, indigo colour scheme, AI services content
This commit is contained in:
@@ -80,7 +80,7 @@ if (preg_match("/^(::1|fe80:|fc00:|fd00:)/i", $ip)) {
|
||||
$context = stream_context_create([
|
||||
"http" => [
|
||||
"timeout" => 10,
|
||||
"user_agent" => "UK Data Services Robots Analyzer (+https://ukdataservices.co.uk/tools/robots-analyzer)",
|
||||
"user_agent" => "UK AI Automation Robots Analyzer (+https://ukaiautomation.co.uk/tools/robots-analyzer)",
|
||||
"follow_location" => true,
|
||||
"max_redirects" => 3
|
||||
],
|
||||
|
||||
@@ -31,6 +31,6 @@ $log_entry = date("Y-m-d H:i:s") . " | $email | $source | $page\n";
|
||||
file_put_contents("/var/www/ukds/api/leads.log", $log_entry, FILE_APPEND | LOCK_EX);
|
||||
|
||||
// Send notification email (optional - uncomment if you want email alerts)
|
||||
// mail("peter.foster@ukdataservices.co.uk", "New Lead: $email", "Source: $source\nPage: $page");
|
||||
// mail("peter.foster@ukaiautomation.co.uk", "New Lead: $email", "Source: $source\nPage: $page");
|
||||
|
||||
echo json_encode(["success" => true, "message" => "Lead captured"]);
|
||||
|
||||
Reference in New Issue
Block a user