You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
<?php use Cloudflare\Zone\Dns; // Create a connection to the Cloudflare API which you can // then pass into other services, e.g. DNS, later on $client = new Cloudflare\Api('eackcfcuyv@gmail.com', 'dc88c3098d023ea0d47874698bc8cc027b1c5'); // Create a new DNS record $dns = new Cloudflare\Zone\Dns($client); $dns->create('www', 'A', 'name.com', '192.168.1.2', 120);
according to eg, i name above code to cf_dns.php
but when i run " php cf_dns.php" command
get "PHP Fatal error: Class 'Cloudflare\Api' not found in /root/cf_dns.php on line 5"
where is wrong?
could you help me check it?
thx
The text was updated successfully, but these errors were encountered:
<?php use Cloudflare\Zone\Dns; // Create a connection to the Cloudflare API which you can // then pass into other services, e.g. DNS, later on $client = new Cloudflare\Api('eackcfcuyv@gmail.com', 'dc88c3098d023ea0d47874698bc8cc027b1c5'); // Create a new DNS record $dns = new Cloudflare\Zone\Dns($client); $dns->create('www', 'A', 'name.com', '192.168.1.2', 120);
according to eg, i name above code to cf_dns.php
but when i run " php cf_dns.php" command
get "PHP Fatal error: Class 'Cloudflare\Api' not found in /root/cf_dns.php on line 5"
where is wrong?
could you help me check it?
thx
The text was updated successfully, but these errors were encountered: