... that doesn't look crazy to me.
_______ _________
___ |________________________ /
__ /| |_ ___/ _ \_ __ \ __ /
<?php | |
# Log string to file whilst also printing it to screen (stdout) | |
# Named tee to match the core unix command - https://en.wikipedia.org/wiki/Tee_(command), | |
# which in turn is named after the T-splitter used in plumbing. | |
function tee($message, $logFilepath) | |
{ | |
file_put_contents($logFilepath, $message, FILE_APPEND); | |
echo $message; | |
} |
Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |