Question

In: Computer Science

Why would a web developer need to know what browser a user is using? How does...

Why would a web developer need to know what browser a user is using? How does PHP play a role in browser indentification?

Solutions

Expert Solution

A web developer needs to know which browser a user is using because, newer browsers have the capability to support cutting-edge(Rich grpahic user interface) web elements(HTML, CSS elements) which the older browsers are not capable.of.So , the developer develops his website in such a way that the the newer browsers should be able to display the cutting-edge elements and the older browsers should just ignore the cutting -edge elements and just display the basic version of the website.Due to this reason a web developer would need to know which browser a user is using and accordingly display the website.

PHP has a function named get_browser() which returns the capabilities of the user's browser. Hence, PHP can be used for browser identification.


Related Solutions

Using a Web browser, search on the term intrusion prevention systems. What are the characteristics of...
Using a Web browser, search on the term intrusion prevention systems. What are the characteristics of an IPS? Compare the costs of a typical IPS to an IDPS. Do they differ? What characteristics justify the difference in cost, if any?
: PHP Please read carefully - display the USER info for IP address, web browser and...
: PHP Please read carefully - display the USER info for IP address, web browser and operating system - do not hard code these parts    1. Create a new PHP document (nit Objective 1)    2. Write a comment similar to the following: "This is my first PHP document, which displays some data in the web browser"(Unit Objective 1)    3. Assign your name as a string value into the variable labeled myName (Unit Objective 2)    4. Assign...
Developer User Account Create a user account using T-SQL for developers named DEVELOPER with the password...
Developer User Account Create a user account using T-SQL for developers named DEVELOPER with the password TESTACCOUNT that grants the user the ability to: Select and modify any table. Connect to and have access to all resources. In SSMS
PHP Please read carefully - display the USER info for IP address, web browser and operating...
PHP Please read carefully - display the USER info for IP address, web browser and operating system - do not hard code these parts    1. Create a new PHP document (nit Objective 1)    2. Write a comment similar to the following: "This is my first PHP document, which displays some data in the web browser"(Unit Objective 1)    3. Assign your name as a string value into the variable labeled myName (Unit Objective 2)    4. Assign 53870...
Why does a company need to know how many dollars they have in inventory of their...
Why does a company need to know how many dollars they have in inventory of their stock?
Know how why EPO would be released, where its released from and what it does at...
Know how why EPO would be released, where its released from and what it does at its target site (production of RBCs to aid in O2 levels). Be able to graph a neuronal action potential and show where the 2 phases are on the graph, the names of those phases and where the channels open or close on the graph. Also, are the ions flowing into or out of the cell.
I need to write a journal for my internship as an frontend web developer along with...
I need to write a journal for my internship as an frontend web developer along with few backend job. please help. it has to be 2 pages long and double spaced
What do you see as the primary differences between a Web DEVELOPER and a Web DESIGNER?...
What do you see as the primary differences between a Web DEVELOPER and a Web DESIGNER? What are some factors that a Developer must consider over a Designer, or vice versa? Why, specifically, is it important for each to have an understanding of what the other does?
1. what does a Healthcare Professional need to know to be culturally competent? Why is thus...
1. what does a Healthcare Professional need to know to be culturally competent? Why is thus an essential skill for Healthcare Professionals? 2. what are the ethical responsibilities of a Healthcare Professional? Are the ethical expectations for Healthcare Professionals higher than in other professions?
n this assignment, you will need to code a Web page that will allow a user...
n this assignment, you will need to code a Web page that will allow a user to enter their first and last names and indicate how many pets they have, if any. If they have pets, the user will be able to list up to three of their names. You will code validations on some of the fields and display error messages on the page when a field does not pass the validation test. If all the data entered is...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT