Answers for "php output image instead of html code"

PHP
-1

how to show image from php

<html>
 <head>
 <title>display image</title>
 </head>
 <body>
 <p>Here in your form and text</p>
	<?php
 
	echo "<img src='image-name.png' >"; 

	?>  
 </body>
 </html>
Posted by: Guest on July-07-2020
-1

html to image php

$url="http://google.com";
$output_path="test.png";
shell_exec("$path $url $output_path");
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language