Lee Thompson

Results 161 comments of Lee Thompson

That's the plan, I just have more stuff to do and test before I do a PR.

If anyone uses `get-fav.php` in web mode please share your use cases, does it need more functionality?

As stated above, I don't personally use the script in an HTTP/HTML context but others might. If this is you and you're reading this please feel free to add comments...

What version of PHP? Looks like that's running on a web server too, Apache? (Just asking so I can try to repro it). Are you running it from a command...

curl_useragent is set earlier via a command line switch so it can be whatever it needs to be. (I'm actually changing it to http_usergent internally since I'm having the non-curl...

Hmm this seems to be an issue with exif_imagetype as well, fortunately the user agent can be set. Now if user-agent is set on the command line switch, php's user...

I guess the big question is, should we set the user agent to something like "`Mozilla/5.0...`" by default?

In my branch, the default user agent is now defined near the beginning so someone could change it there. Soon it will be able to be set in an ini...

--help output as of `202306011529` ``` Usage: get-fav.php (Switches) Available APIs: faviconkit, favicongrabber, google, iconhorse (get-fav-api.ini) Lists can be separated with space, comma or semi-colon. --configfile=FILE Pathname to read for...

Configuration Files Use INI file format. Each value is optional. Comments can be used "; " etc. Complex strings need to be **quoted**. (See the useragent entry below). ``` [files]...