|  | 
 
 发表于 2013-12-27 16:08:19
|
显示全部楼层 
| <?php , l* C; f( V: c+ ^: d) R! M3 F    $u = $_REQUEST['u'];6 l$ u) |. F7 f' Q' o+ r
 header( "Location: http://ecx.images-amazon.com/$u" );
 8 z" K. H- v2 [5 i7 h+ D' z, J: U?>! m: B( B. m8 F6 g
 保存为show.php
 3 `8 h2 K. Y% L$ B) P, I+ g4 Z& }
 , S, s6 B" {! K$ l[]http://ecx.images-amazon.com/images/I/41EspGEgu9L.jpg[] 替换为 http://localhost/show.php?u=images/I/41EspGEgu9L.jpg! W% H7 d9 w' A& w  P7 I
 & N$ D- l# k$ n6 D0 X
 再进一步就是用htaccess将jpg解析为php
 | 
 |