1. get_img.php 图片处理页面
$url = $_GET["url"];
$image_path = $url;
$sTmpVar = fread(fopen($image_path, 'r'), filesize($image_path));
header("Content-type: Image/jpg");
echo $sTmpVar;
2. 图片显示页面
<img src='get_img.php?url=xxxxx'>
1. get_img.php 图片处理页面
$url = $_GET["url"];
$image_path = $url;
$sTmpVar = fread(fopen($image_path, 'r'), filesize($image_path));
header("Content-type: Image/jpg");
echo $sTmpVar;
2. 图片显示页面
<img src='get_img.php?url=xxxxx'>