is there a way to get the screen size of a visitor using php

my buddy told me its possible but i dont know if he's telling the truth

i know you can do it with javascript but i want to be able to get that information on server size instead of client side

if you know this. please tell me

im writing this php script and it would really help if you can tell me