{"id":1417,"date":"2026-02-10T13:05:38","date_gmt":"2026-02-10T13:05:38","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=1417"},"modified":"2026-02-10T13:05:38","modified_gmt":"2026-02-10T13:05:38","slug":"mwnci-sitecertsans-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sitecertsans-function\/","title":{"rendered":"Mwnci sitecertsans() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>sitecertsans<strong>(<em>string<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>sitecertsans()<\/i> function returns an an array of all the domains covered by the certificate for the given domain name.<br \/>\nIf the date cannot be read, or unable to retrieve the information, <i>false<\/i> is returned.<\/p>\n<h2>Example<\/h2>\n<pre>include(\"cert\")\r\nSans=sitecertsans(\"debian.org\")\r\nprintln(\"The domains covered are: \", Sans)\r\n\r\n\r\nThe domains covered are: [\"debian.org\", \"www-fastly.debian.org\"]\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax sitecertsans(string) Description The sitecertsans() function returns an an array of all the domains covered by the certificate for the given domain name. If the date cannot be read, or unable to retrieve the information, false is returned. Example include(&#8220;cert&#8221;) Sans=sitecertsans(&#8220;debian.org&#8221;) println(&#8220;The domains covered are: &#8220;, Sans) The domains covered are: [&#8220;debian.org&#8221;, &#8220;www-fastly.debian.org&#8221;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1417","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1417"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1417\/revisions"}],"predecessor-version":[{"id":1418,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/1417\/revisions\/1418"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}