工会web
This commit is contained in:
20
GonghuiWeb/www/b.php
Normal file
20
GonghuiWeb/www/b.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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);
|
||||
?>
|
||||
Reference in New Issue
Block a user