Re: website url as input how to create and save image on server in php? [message #170663 is a reply to message #170659] |
Sun, 14 November 2010 14:04 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 11/14/2010 12:40 AM, Amit Prakash Pawar wrote:
> Hi,
>
> <form id='frmuser' name='frmuser' action='web_url.php' method='post'>
> <input name="site_name" type="text" id="site_name"
> <input name="add" type="submit" id="add" value="Create image" />
> </form>
>
> Suppose :- web url is google.com
> how to create image of this?
>
> Any google API available?
Did you ask google?
>
> using html of that url possible to create image ?
I'm not sure what you mean - do you mean create an image of the page
itself? Then yes, it's possible. All you need to do is parse the html,
fetch any css and parse it, add in images and process any javascript in
the page.
Of course, it might take you a few years to build such an application,
but it can be done. And at the end you'll have a browser written in
php, which will be quite slow.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|