On Fri, Feb 15, 2008 at 3:18 PM, nihilism machine
<[EMAIL PROTECTED]> wrote:
> here is my function:
>
> // Check if site is preceeded by 'WWW'
> public function checkWWW() {
> $myDomain = $_SERVER['SERVER_NAME'];
> $FindWWW = 'wwww.';
> $POS = strpos($myDomain, $FindWWW);
> if ($POS === false) {
> return false;
> } else {
> return true;
> }
> }
Aside from the fact that $FindWWW contains 4 w's?
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php