Answers for "php load image and show it"

PHP
0

php file for image load

$image = 'path/to/image.jpg';
header('Content-Type: image/jpeg');
readfile($image);
Posted by: Guest on September-04-2020
-1

display image in php from folder

<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

Code answers related to "php load image and show it"

Browse Popular Code Answers by Language