PHP: class Sd_Yabd

…Yet Another Browser Detector
First I thought about calling this script ‹ExtrAgent›, then I thought, hey,
there’s a whole bunch of other browser detection scripts around, so actually
it’s just yet another browser detector!
I have just updated this code and replaced the old function with the new class Sd_Yabd. It takes part of my upcoming PHP framework «Sourdough» which will be released in april/may 2004.

This class should be capable to recognize all major browser/systems. Pass the agent string to extract_agent() and get the browser information by one of the follwing functions: getAgent(), getName(), getFullname(), getSystem(), getFullsystem(), isBot(), getVersion()

download file

sample usage:


Comments are closed