A
A
Alex2020-02-26 12:44:34
PHP
Alex, 2020-02-26 12:44:34

Is it possible on the server, using PHP, to check if the browser supports a certain API?

I want to give the client one script if it supports the Web Share API and another otherwise. Is it possible somehow on the server, using PHP, to check whether the browser supports the API?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antonio Solo, 2020-02-26
@Kozack

all the client initially knows about the browser is what the browser tells it in the "User-Agent". to find out more, you need to send a "spy" to the browser, which will find out what it can do, and based on this it will pull up the required handlers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question