if u don't afraid the trouble, you can uses the fsockopen() or CURL to get the value
<?php include("datacon.inc"); $sql="select * from file_up order by id DESC"; $result=mysql_query($sql,$db); $rows=mysql_fetch_array($result); $type=$rows['type']; Header("Content-type:$type"); echo $rows['file_data']; ?>大家好!我是想把echo $rows['file_data'];显示在<body></body>之间,这是一个图象,在 <body></body>之间显示的是代码,不知道怎样修正过来,谢谢!
include("datacon.inc"); $sql="select * from file_up order by id DESC";
$result=mysql_query($sql,$db);
$rows=mysql_fetch_array($result);
$type=$rows['type'];
Header("Content-type:$type");
echo $rows['file_data'];
?>大家好!我是想把echo $rows['file_data'];显示在<body></body>之间,这是一个图象,在
<body></body>之间显示的是代码,不知道怎样修正过来,谢谢!
這句話我听起來怎么這么迷茫阿﹐對frame的支持的好坏應該和瀏覽器有關吧﹐怎么和服務器扯上聯系了﹒
老兄有點專業精神好不好阿﹒
而图象是content-type:image/gif(或jpg或bmp)多义性这是不可能的。要在<body>中间加图象只能用<img src=xxx.php>来加.在
xxx.php中<?
header("content-type:image/gif");