8 lines
2.9 KiB
HTML
8 lines
2.9 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>2.2. Running the examples</title><link rel="stylesheet" href="manual.css" type="text/css"><meta name="generator" content="DocBook XSL-NS Stylesheets V1.74.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="ch02.html" title="Chapter 2. The Short Version: Installing the library (for PHP/Apache experts)"><link rel="prev" href="ch02.html" title="Chapter 2. The Short Version: Installing the library (for PHP/Apache experts)"><link rel="next" href="ch02s03.html" title="2.3. Basic trouble shooting"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.2. Running the examples</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. The Short Version: Installing the library (for PHP/Apache experts)</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2507535"></a>2.2. Running the examples</h2></div></div></div><p>The best way to verify that the installation is working is to run one of the
|
||
included example scripts. Assuming that the library is installed locally in the
|
||
document root on the HTTP server under <code class="filename">jpgraph/</code> pointing the
|
||
browser to <code class="filename">"http://llocalhost/jpgraph/Examples/example0.php"</code>
|
||
should show the same image as can be seen in <a class="xref" href="ch01s04.html#example.example0" title="Example 1.1. This is the very first example (example0.php)">Example 1.1</a>.</p><p>In order to generate all the examples available there is a "meta script" that will
|
||
just do this. Point the browser to </p><p><code class="filename">"http://llocalhost/jpgraph/Examples/testsuit.php"</code></p><p>just note that this will generate a page with more than 300 examples. Depending on
|
||
the capacity of the server it might take a few seconds before this script is
|
||
done.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. The Short Version: Installing the library (for PHP/Apache experts) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 2.3. Basic trouble shooting</td></tr></table></div></body></html>
|