20 lines
479 B
PHP
20 lines
479 B
PHP
|
|
<?php
|
||
|
|
include_once("../inc/class.php");
|
||
|
|
include_once("../inc/admin.smarty.php");
|
||
|
|
$db = new myConn;
|
||
|
|
$db->links();
|
||
|
|
$GG=$db->getpost($GG);
|
||
|
|
if($GG['id']){
|
||
|
|
$url = $db->fetch_abc("select HeadHttp from IndividualDatum where UserID='".$GG['id']."'");
|
||
|
|
if(!$url){
|
||
|
|
$url = 'http://wn.ppxq.net/m/img/toux.jpg';
|
||
|
|
}
|
||
|
|
//header('Location: '.$url);
|
||
|
|
|
||
|
|
header("Content-Type: image/jpeg;text/html; charset=utf-8");
|
||
|
|
$img = file_get_contents($url, true);
|
||
|
|
echo $img;
|
||
|
|
exit;
|
||
|
|
}
|
||
|
|
unset($GG,$ppxq);
|
||
|
|
?>
|