Your Location is: Home > Php

Render html as an image in php

From: Puerto View: 3683 Dhirender 


I have a img html tag on my html page. In this img tag, I am passing url of PHP page which return some html. Below is my IMG tag:

<img src="" />  

I am not able to find any way about how can I convert my html page renders on given PHP url and return that content as an image so that IMG tag can show it.

Best answer