PHP是个有意思的东西,希望她一路走好

解决方案 »

  1.   

    我的居然提示:
    PHP Fatal error: Call to undefined function: imagecreate() in E:\jysweb\office\test\class.php on line 89 要配置......
      

  2.   

    这段代码我测试过了,本身没有什么错误!图像是一个立体饼状图,切成了3块,还有一个十字架,左下角还有一个小桶p.s.我的gd不支持gif,所以我用了png图
      

  3.   

    呵呵,我一运行,没晕死,出了不到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
    全是这个.
      

  4.   

    呵呵,我一运行,没晕死,出了不到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
    全是这个.
      

  5.   

    to  xizi2002(☆☆戏☆子☆☆) 、 tmj(革命者) 
    你们用的系统和版本是什么?不支持下标的枚举定义吗?
      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];
    }
      

  6.   

    Congratulation!
    I want to try,but i can't understand the above-mentioned code.
      

  7.   

    碰到高人了,快帮我,
    用gd画好的图用
    header("Content-type:image/png");
    imagepng($image);
    输出在窗口中,如何控制它在窗口中的位置?
      

  8.   

    你可以将php输出图象的文件单独做成一个文件,
    然后像图像一样引用,愿意放到哪就放到哪.
      

  9.   

    PHP Version 4.2.3错误全部打开
      

  10.   

    http://sourceforge.net/projects/phplot/
    我是傻瓜,这个对我来说简单点.
      

  11.   

    window98 + apache(1.3.27) + PHP Version 4.2.3错误全部打开