Aug
22

Zend studio5.5在win7下无法启动的解决方法

右键->选择兼容性 ->vista

另外: 暂时放弃Zend studio8.0 发现ftp功能不是很好。

0 Comments
Aug
16

万网G享主机URL重写

应工作需求,需要在万网G享主机上做URL重写。

1, 首先万网问题帮助中心有手册 (实为装字母二,误导人的,只有最基本的介绍,根本满足不了需求。其实就是iis7的URL Rewrite Module 2.0) 见: http://learn.iis.net/page.aspx/665/url-rewrite-module-20-configuration-reference/

2. 配置如下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="rule1" stopProcessing="true">
<match url="^$" />
<conditions logicalGrouping="MatchAll">
</conditions></match></rule></rules></rewrite></system></configuration>
0 Comments
Jul
30

php JPGRAPH

//设置图列的数据

$bplot1 = new BarPlot($datay1);

$bplot2 = new BarPlot($datay2);

//设置图列的填充颜色

$bplot1->SetFillColor('orange@0.4');

$bplot2->SetFillColor('brown@0.4');

设置值的格式

$bplot1->value->SetFormat('%d');

//设置图列标签

$bplot1->SetLegend('Label 1');

$bplot2->SetLegend('Label 2');

//设置图列在图中的阴影

$bplot1->SetShadow('black@0.4');

$bplot2->SetShadow('black@0.4');

//生成图列

$...

0 Comments
Jul
30

php JPGRAPH总结

1. 设置画布

$graph->SetMarginColor('#fff');//整个图片背景
$graph->SetFrame(false); //是否显示图片边框

$graph->SetColor("#fff"); //设置曲线背景

2. 定制X轴数据

$xdata = array('一月', '2月', '三月');
$graph->xaxis->SetTickLabels($xdata);
$graph-> xaxis-> SetFont(FF_FONT1 , FS_BOLD);

0 Comments