chart - <?php /* * Invision Power File Manager * Server...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?php < /* * Invision Power File Manager * Server Space Image Script * Copyright (c) 2003 Invision Power Services * ------------------------------------- * You may not remove the copyright or * redistribute the script in any form * * Authors: Stephen Ball <stephen@invisionfilemanager.com> * * Last Modified: 22nd February 2003 * */ error_reporting(0); e include(". ./settings/settings.inc.php"); i function param($name) { return isset($_GET) ? $_GET[$name] : $GLOBALS["HTTP_GET_VARS"][$name]; } header("Content-type:image/png"); h $id = ImageCreate(180, 180); $hcenter = ImageSX($id)/2; $vcenter = ImageSY($id)/2; $ $diameter = 160; $ // Define the colours $black = ImageColorAllocate($id, 0, 0, 0); $white = ImageColorAllocate($id, 255, 255, 255); $ $pie_color[1] = ImageColorAllocate($id, $free_colour[0], $free_colour[1], $free_colour[2]); // Free Space $pie_color[2] = ImageColorAllocate($id, $used_colour[0], $used_colour[1], $used_colour[2]); // Used Space $ // The white back ground will be transparent
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

chart - &lt;?php /* * Invision Power File Manager * Server...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online