---- DRN <[EMAIL PROTECTED]> ----
> Hi, I was wondering if it would be possible to get the page height using php?

This solution is sloppy but in theory it works.  I would lean towards using an
fopen() to read the bytes of the page on the server, then based on bytes have
your script decide what to do.

---- Chris Lee <[EMAIL PROTECTED]> ----
> plus to compound the fact, JavaScript might be able to get this data
> (cant confirm) but JavaScript will only know what the dimensions are,
> after the page is loaded. you could get the data from JavaScript  and
> use a header_redirect to give php that data. sorry I don't have a code
snippet.

JavaScript (AFAIK) can only tell the dimensions of the window/frame the page is
being drawn in.

Nathan Cook
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to