Purchase Solution

PHP - environment variables

Not what you're looking for?

Ask Custom Question

(Using PHP)
Develop a program that determines whether the client is using Internet Explorer. If so, determine the version number and send this information back to the client.

Purchase this Solution

Solution Summary

This solution develops a program that determines whether the client is using Internet Explorer.

Solution Preview

There are several ways in which you can determine the browser type and its version and display it on the clients terminal.All of these methods are related to the '$HTTP_USER_AGENT' variable in a way or the other.The variable $HTTP_USER_AGENT is automatically set in all PHP scripts that are run by a Web server. The string contained in that variable can be used to identify the browser responsible for the page request. For example, the $HTTP_USER_AGENT string produced by Netscape 6.2 running on Windows is as follows:

Mozilla/5.0 (Windows; U; ...

Purchase this Solution

Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.