|
|
发表于 2013-12-27 16:08:19
|
显示全部楼层
<?php
- ?* A" p/ a5 Y $u = $_REQUEST['u'];
e9 ], s4 ~8 h# T3 `0 ~ header( "Location: http://ecx.images-amazon.com/$u" );+ y- d9 k- y: u, a; F+ K- I
?>
1 h- w/ q0 n4 j保存为show.php
! n w) q1 _6 b# J+ }# S+ m, g+ B0 ~, e$ W- |+ g, p
[]http://ecx.images-amazon.com/images/I/41EspGEgu9L.jpg[] 替换为 http://localhost/show.php?u=images/I/41EspGEgu9L.jpg, j# M! m: d% M" e
% j* R3 u" E# p' a再进一步就是用htaccess将jpg解析为php |
|