php Jpgraph 安装和配置
Jpgraph下载之后,安装非常简单,解压到一个文件夹中,例如:d:\Jpgraph,然后打开php的安装目录,找到php.ini文件,并修改其中的inlude_path参数,并在其后加上Jpgraph的路径,例如:inlude_path=".;d:\Jpgraph".
http://blog.csdn.net/zhuzhao/archive/2009/05/12/4174684.aspx
相关文档:
用php生成excel文件
<?
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=test.xls");
echo "test1/t";
echo "test2/t/n";
echo "test1/t";
echo "test2/t/n";
echo "test1/t";
echo "test2/t/n";
echo "test1/t";
echo "test2/t/n";
echo "test1/t";
echo "test2 ......
Perl is a language often associated with text processing and CGI. PHP is
a language often associated with dynamic Web pages. Both are very popular
with Web developers. Often, each of these languages is used at the expense of
the other. Hard-core Perl developers would love to develop everyth ......
1、创建 和 修改 数组
PHP中使用array来创建一个数组:
array( key=>value , key=>value …… )
例子:
$arr = array (3,5,7,9,6);
&nb ......
<?php
function vCode($num=4,$size=20, $width=0,$height=0){
!$width && $width = $num*$size*4/5+5;
!$height && $height = $size + 10;
// 去掉了 0 1 O l 等
$str = "23456789abcdefghijkmnpqrstuvwxyzABCDEFGHIJKLMNPQRSTUVW";
$code ......