|
The browser is not required to send you that information. Think of it like this: you could read the RFCs and write some code to ask for a resource from some server. This would be 'your' browser. You might or might not write it to conform to 'tradition' or 'common practice.' Always bear this in mind when you are trying to wring functionality from two separate pieces of code, one residing on some client's machine, and one residing on your server, and the two authors never heard of each other and don't give a rat's ass what the other might want, outside of compliance with the RFCs. Should you happen to luck out and find a non-standard facility on one end that does what you want, you still have no guarantees about the other end. All that said, look up get_browser and HTTP_USER_AGENT in your PHP docs. If you're looking for universal miracles, though, you might should oughtta buy a chicken and get prepared to wring its neck and offer it up.
|