我必须撰写一份“加拿大”申请(删除我们称之为“形象”的网址),以支持一台电话/ipad。
图像。 php需要回到图像榜样:www.xyz.com/whatever/image.jpeg
In imagepath.php I am successfully able to get correct image path from Here is an example: http://cdn.svcs.x.y.com/c2/37a86590e709012e2fb300163e41dd5b
如果我把这条道路送给一把电话/单板,那不会奏效,但如果我送上适当的图像途径,例如www.xyz.com/whatever/image.jpeg,它会做罚款。
How do I fix it?
我目前的法典
<?php
..
..
..
// With some code above I am able to get image path in remote_img
$remote_img = $results[1][0];
//send image out
header( Content-Type: image/jpeg );
echo(file_get_contents($remote_img));
?>
Here is a sample image path that comes to $remote_img http://cdn.svcs.c2.uclick.com/c2/37a86590e709012e2fb300163e41dd5b