FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » web page to image
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: web page to image [message #175567 is a reply to message #175566] Sun, 09 October 2011 08:11 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
paris2venice wrote:
> On Oct 8, 6:35 pm, The Natural Philosopher <t...@invalid.invalid>
> wrote:
>> bob wrote:
>>> I want to turn a web page into a 768x1024 image using PHP. For
>>> instance the script might loadhttp://www.example.com/and output a
>>> 768x1024 image. Anyone know how to do this?
>> Forget it: you need a browser to do that.
>
> It could be done if you can execute external Unix commands with PHP
> which I believe you can. I'm just not advanced enough at PHP to show
> how Unix commands can be executed to accomplish this.

system() is the way, or the exec() type calls. BUT essenially you want
to exec a full screen browser and take a screen shot.


OR bite the bullet and start hacking e.g. Mozilla source.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Editing a combobox
Next Topic: Re: Mass Twitter Account Creator (PHP)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:57:33 GMT 2024

Total time taken to generate the page: 0.04351 seconds