呵呵,我一运行,没晕死,出了不到10000行错误。 Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 169Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 170 全是这个.
呵呵,我一运行,没晕死,出了不到10000行错误。 Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 169Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 170 全是这个.
PHP Fatal error: Call to undefined function: imagecreate() in E:\jysweb\office\test\class.php on line 89 要配置......
Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 169Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 170
全是这个.
Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 109Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 110Notice: Use of undefined constant x - assumed 'x' in /home/yjj/public_html/temp/test/index.php on line 169Notice: Use of undefined constant y - assumed 'y' in /home/yjj/public_html/temp/test/index.php on line 170
全是这个.
你们用的系统和版本是什么?不支持下标的枚举定义吗?
function get_view($x,$y) {
$this->xo = $x*$this->kcos - $y*$this->ksin;
$this->yo = $x*$this->ksin + $y*$this->kcos;
$p[x] = ($this->xo + $this->orgx)*($this->viewx/$this->winx);
$p[y] = ($this->yo + $this->orgy)*($this->viewy/$this->winy)-$this->viewy;
return $p;
}
定义
$p[x] = ...
$p[y] = ...
引用
$ar[$i] = $p[x];
$ar[$i+1] = $p[y];
}
I want to try,but i can't understand the above-mentioned code.
用gd画好的图用
header("Content-type:image/png");
imagepng($image);
输出在窗口中,如何控制它在窗口中的位置?
然后像图像一样引用,愿意放到哪就放到哪.
我是傻瓜,这个对我来说简单点.