By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,848 Members | 3,202 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,848 IT Pros & Developers. It's quick & easy.

Define Width & Height

chelvan
P: 90
hi
all

i want to know is it possible to define a browsers width & height through php?
if so how is it?

thanks
chel-1
Sep 22 '08 #1
Share this Question
Share on Google+
4 Replies


MarkoKlacar
Expert 100+
P: 296
Hi,

Not quite sure you can do that using only php, perhaps you can do it with java script...

/MK
Sep 22 '08 #2

Atli
Expert 5K+
P: 5,058
PHP won't help you with this. It is a server side language.

If anything could do this it would be JavaScript. Although I'm not sure it would allow you this level of control over the browser... would be extremely annoying if web-pages could actually resize your windows. It can set the dimensions of pop up windows tho.

In any case, I'm moving this over to the JavaScript forum.
Sep 22 '08 #3

Dormilich
Expert Mod 5K+
P: 8,639
I think it is possible to set them, though I too find it _extremely_ annoying as user and I therefore do not recommend it.

regards
Sep 22 '08 #4

chelvan
P: 90
thanks forums

chel-1
Sep 26 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.