Answers for "load an image php from input in directory"

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
4

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 "load an image php from input in directory"

Browse Popular Code Answers by Language