Hello,
i found an PHP code which will show an text if webpage URL contains some phrasse:
But how it should look like if i have more phrasses to check for?Code:$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if (false !== strpos($url,'car')) { echo 'Car exists.'; } else { echo 'No cars.'; }
Bookmarks