sweenster
06-08-2004, 09:16 PM
am going to kill 2 birds with one stone here...
what PHP command could I use to detect a certain string inside another string?
example 1:
$browser = $_SERVER['USER_AGENT'];
how could i detect if $browser contains "MSIE"
example 2:
along the same lines but for detecting a key word or phrase in a paragraph
what PHP command could I use to detect a certain string inside another string?
example 1:
$browser = $_SERVER['USER_AGENT'];
how could i detect if $browser contains "MSIE"
example 2:
along the same lines but for detecting a key word or phrase in a paragraph