Height of a webpage for snapshots in PHP

Posted by gAMBOOKa on Stack Overflow See other posts from Stack Overflow or by gAMBOOKa
Published on 2010-05-13T09:20:39Z Indexed on 2010/05/13 9:24 UTC
Read the original article Hit count: 134

Filed under:
|
|

We have an application that takes snapshots of certain web pages. It's quite tightly integrated into the code, so we're not ready to incorporate another library.

But we don't have a way of being able to calculate the web page height, so we end up taking snaps of 8000px height. Which is now proving troublesome when inserted into PDFs.

Is there a way to find the height of the webpage in PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about Snapshot