Y
Y
yerdnaandrey2020-05-12 23:24:06
PHP
yerdnaandrey, 2020-05-12 23:24:06

How to determine the screen size using php?

How to determine the size (resolution) of the user's screen using php. Maybe I'm not digging there? Help!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanes, 2020-05-12
@Sanes

No way. This is done on the front via js.

A
Adamos, 2020-05-12
@Adamos

First, you don't need the screen resolution, but the size of the browser window.
Secondly, it can take - and change at any time, and if you use it, then you need to provide for this.
In-zero, it is, of course, determined by the user in the browser (JS), and not by you on the server (PHP).

F
FanatPHP, 2020-05-13
@FanatPHP

The very basics. Where does RNR work?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question