Answers for "php show image from $_FILES"

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

Browse Popular Code Answers by Language