image processing - A php file as img src -
i want print image using img tag src php file, script process action @ server scirpt. have example code?
here test code no effect
img.html
<img src="visitimg.php" /> visitimg.php
<? header('content-type: image/jpeg'); echo "<img src=\"btn_search_eng.jpg\" />"; ?>
use readfile:
<?php header('content-type: image/jpeg'); readfile('btn_search_eng.jpg'); ?>
Comments
Post a Comment