
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://doc.openprovider.eu/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://doc.openprovider.eu/index.php?action=history&amp;feed=atom&amp;title=Bulk_checkDomainRequest</id>
		<title>Bulk checkDomainRequest - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://doc.openprovider.eu/index.php?action=history&amp;feed=atom&amp;title=Bulk_checkDomainRequest"/>
		<link rel="alternate" type="text/html" href="https://doc.openprovider.eu/index.php?title=Bulk_checkDomainRequest&amp;action=history"/>
		<updated>2026-04-21T15:33:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.2</generator>

	<entry>
		<id>https://doc.openprovider.eu/index.php?title=Bulk_checkDomainRequest&amp;diff=1452&amp;oldid=prev</id>
		<title>WikiSysop at 15:59, 12 December 2016</title>
		<link rel="alternate" type="text/html" href="https://doc.openprovider.eu/index.php?title=Bulk_checkDomainRequest&amp;diff=1452&amp;oldid=prev"/>
				<updated>2016-12-12T15:59:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:59, 12 December 2016&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $password = '--';&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $password = '--';&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; $domain&amp;nbsp;  = 'yourdomain'; // domain name without extension&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; if (!&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;preg_match(&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/^&lt;/ins&gt;[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a-z\d\-&lt;/ins&gt;]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;+$/i', &lt;/ins&gt;$_SERVER['argv'][1])) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; $limit&amp;nbsp; &amp;nbsp; = 10; // stop processing this script after this number of checks&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  die(&amp;quot;Provide a domain name (&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ASCII, &lt;/ins&gt;without extension) and an optional limit. Syntax:\n&amp;nbsp; &amp;nbsp; check-bulk.php somedomain [limit]\n\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; if (!&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;$_SERVER[&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;argv']&lt;/del&gt;[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/del&gt;] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|| stristr(&lt;/del&gt;$_SERVER['argv'][1]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, '.'&lt;/del&gt;)) {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  die(&amp;quot;Provide a domain name (without extension) and an optional limit. Syntax:\n&amp;nbsp; &amp;nbsp; check-bulk.php somedomain [limit]\n\n&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; if (isset($_SERVER['argv'][2]) &amp;amp;&amp;amp; !preg_match('/^\d+$/', $_SERVER['argv'][2])) {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;nbsp;  die(&amp;quot;Provide a domain name (ASCII, without extension) and an optional limit. Syntax:\n&amp;nbsp; &amp;nbsp; check-bulk.php somedomain [limit]\n\n&amp;quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; $domain&amp;nbsp;  = $_SERVER['argv'][1]; // domain name without extension&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; $limit&amp;nbsp; &amp;nbsp; = $_SERVER['argv'][2] ? $_SERVER['argv'][2] : NULL; // stop processing this script after this number of checks&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $request = new OP_Request;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; $request = new OP_Request;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-21 15:33:52 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	<entry>
		<id>https://doc.openprovider.eu/index.php?title=Bulk_checkDomainRequest&amp;diff=1397&amp;oldid=prev</id>
		<title>WikiSysop:&amp;#32;Created page with 'Before using this script, please make sure to read API General Examples   &lt;?php  require_once('API.php');  $api = new OP_API('https://api.openprovider.eu…'</title>
		<link rel="alternate" type="text/html" href="https://doc.openprovider.eu/index.php?title=Bulk_checkDomainRequest&amp;diff=1397&amp;oldid=prev"/>
				<updated>2016-10-27T12:36:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;Before using this script, please make sure to read &lt;a href=&quot;/API_General_Examples&quot; title=&quot;API General Examples&quot;&gt;API General Examples&lt;/a&gt;   &amp;lt;?php  require_once(&amp;#39;API.php&amp;#39;);  $api = new OP_API(&amp;#39;https://api.openprovider.eu…&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Before using this script, please make sure to read [[API General Examples|API General Examples]]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 require_once('API.php');&lt;br /&gt;
 $api = new OP_API('https://api.openprovider.eu');&lt;br /&gt;
 &lt;br /&gt;
 $username = '--';&lt;br /&gt;
 $password = '--';&lt;br /&gt;
 &lt;br /&gt;
 $domain   = 'yourdomain'; // domain name without extension&lt;br /&gt;
 $limit    = 10; // stop processing this script after this number of checks&lt;br /&gt;
 &lt;br /&gt;
 if (!$_SERVER['argv'][1] || stristr($_SERVER['argv'][1], '.')) {&lt;br /&gt;
   die(&amp;quot;Provide a domain name (without extension) and an optional limit. Syntax:\n    check-bulk.php somedomain [limit]\n\n&amp;quot;);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 $request = new OP_Request;&lt;br /&gt;
 $request-&amp;gt;setCommand('searchExtensionRequest')&lt;br /&gt;
   -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;br /&gt;
   -&amp;gt;setArgs(array(&lt;br /&gt;
     'limit' =&amp;gt; 3000,&lt;br /&gt;
     'status' =&amp;gt; 'ACT',&lt;br /&gt;
     'onlyNames' =&amp;gt; true,&lt;br /&gt;
   ));&lt;br /&gt;
 $reply = $api-&amp;gt;process($request);&lt;br /&gt;
 $res = $reply-&amp;gt;getValue();&lt;br /&gt;
 &lt;br /&gt;
 foreach ($res['results'] as $ext) {&lt;br /&gt;
   $request = new OP_Request;&lt;br /&gt;
   $request-&amp;gt;setCommand('checkDomainRequest')&lt;br /&gt;
     -&amp;gt;setAuth(array('username' =&amp;gt; $username, 'password' =&amp;gt; $password))&lt;br /&gt;
     -&amp;gt;setArgs(array(&lt;br /&gt;
       'domains' =&amp;gt; array(&lt;br /&gt;
         array(&lt;br /&gt;
           'name' =&amp;gt; $domain,&lt;br /&gt;
           'extension' =&amp;gt; $ext,&lt;br /&gt;
         ),&lt;br /&gt;
       )&lt;br /&gt;
     ));&lt;br /&gt;
   $reply = $api-&amp;gt;process($request);&lt;br /&gt;
   if ($reply-&amp;gt;getFaultCode() == 0) {&lt;br /&gt;
     $res = $reply-&amp;gt;getValue();&lt;br /&gt;
     echo $domain.'.'.$ext.&amp;quot;\t&amp;quot;.$res[0]['status'].&amp;quot;\n&amp;quot;;&lt;br /&gt;
   }&lt;br /&gt;
   else {&lt;br /&gt;
     echo $domain.'.'.$ext.&amp;quot;\t&amp;quot;.$reply-&amp;gt;getFaultCode().': '.$reply-&amp;gt;getFaultString().&amp;quot;\n&amp;quot;;&lt;br /&gt;
   }&lt;br /&gt;
   if ($limit &amp;amp;&amp;amp; ++$cnt &amp;gt;= $limit) break;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 ?&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	</feed>