php preg_match multiple urls
<p>I know next to nothing about php so this will make someone laugh probably.</p>

<p>I have this bit of code in index.php which checks a host header and redirects if a match is found. </p>

<pre><code>if (!preg_match("/site1.net.nz/",$host)) {
    header('Location: http://www.siteblah.net.nz/temp_internet_block.cfm');
}
</code></pre>

<p>However, I need to make it check on potentially multiple sites. as follows.</p>

<pre><code>if (!preg_match("/site1.net.nz/"|"/site2.net.nz",$host)) {
    header('Location: http://www.siteblah.net.nz/temp_internet_block.cfm');
}
</code></pre>

<p>This might actually be the correct syntax for all I know:-)</p>
