Page is a not externally linkable
Matthew1980 - 10:28 pm on Dec 16, 2010 (gmt 0)
Hi all,
Surely it would be better doing a substr() rather than strpos() or even using preg_match() (with the 'i' flag set for insensitivity) would do the trick.
Carefull with the use of === as this is only used for checking the same types against each other, other than that, your logic is right.
Cheers,
MRb