|
|
发表于 2013-12-27 16:08:19
|
显示全部楼层
<?php
0 Y) p6 U6 G( S $u = $_REQUEST['u'];
8 t, L. c) }' |1 z8 b) Y) i- q$ x0 U header( "Location: http://ecx.images-amazon.com/$u" );
) C+ g, ~# |" {( y# ]% }?>2 u+ ?! [9 a1 B) s( z& E
保存为show.php
; f; R0 Q1 g+ @6 _% _. S4 \! U" G. j3 r, P
[]http://ecx.images-amazon.com/images/I/41EspGEgu9L.jpg[] 替换为 http://localhost/show.php?u=images/I/41EspGEgu9L.jpg- c) r3 E& [& p! ^- P: C/ ?
# n M+ I8 [, T& X- x再进一步就是用htaccess将jpg解析为php |
|