php生成图片并保存到服务器指定目录的问题

<?phprequire_once'conn.php';$sanma=array("111","112","113","114","115","116","122","1... <?php
require_once 'conn.php';
$sanma=array("111","112","113","114","115","116","122","123","124","125","126","133","134","135","136","144","145","146","155","156","166","222","223","224","225","226","233","234","235","236","244","245","246","255","256","266","333","334","335","336","344","345","346","355","356","366","444","445","446","455","456","466","555","556","566","666");
foreach( $sanma as $num ) {
$result = mysql_query("SELECT * FROM kjnum where zuxuan='$num'");
while($row = mysql_fetch_array($result))
{
echo $num."***".$row['id'] . "</br>";
}
}
?>
以上是一段php代码 ,假如执行结果为:
111***49
111***113
111***587
111***945
111***953
111***1097
111***1169
我想把这个结果生成为一张图片,并保存在服务器指定目录,应该怎么做?求大神指导
展开
 我来答
殳含云S0
2015-06-15 · TA获得超过866个赞
知道小有建树答主
回答量:864
采纳率:0%
帮助的人:313万
展开全部
在winform中其实实现文件上传很简单,微软做了很好的封装,楼主可以去查阅下mapPath()方法,熟用这方法就OK了
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
匿名用户
2015-06-09
展开全部
百度一下php gd函数
追问
谢谢,,我看看 不懂我在追问你
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式