Sinisterly
PHP code for take a screenshot of the visitor automatically. - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: PHP (https://sinister.ly/Forum-PHP)
+--- Thread: PHP code for take a screenshot of the visitor automatically. (/Thread-PHP-code-for-take-a-screenshot-of-the-visitor-automatically)



PHP code for take a screenshot of the visitor automatically. - Hack3rcon - 02-24-2020

Hello,
Is it possible to write a PHP code that take a screenshot of the visitor and save it on the server?
For example, a user browse the URL on cellphone and it take a screenshot automatically.

Thank you.


RE: PHP code for take a screenshot of the visitor automatically. - chunky - 03-01-2020

Check out the imagegrabscreen() function. Never used it but I guess it will Screenshot the host system due to php being a server-side language.


RE: PHP code for take a screenshot of the visitor automatically. - mothered - 03-02-2020

Quote:For example, a user browse the URL on cellphone and it take a screenshot automatically.

It's the browser that visits the website and not the device, so from a server-side standpoint, you cannot perform direct screenshots of a remote device.