Use this

http://www.php.net/manual/en/function.strstr.php

-----Original Message-----
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Which function?


Instead of doing this:

<?php if ($HTTP_HOST == "ccl.flsh.usherbrooke.ca"){ ?>

Which function am I looking for to see if $HTTP_HOST contains "compcanlit"?

This is not what I am looking for:
http://www.php.net/manual/en/function.similar-text.php

John


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to