Uncompress in a directory available through your web server.
For example : /var/www/stphplib/samples.
Open the file stphlibconf.php in the directory of the example and
make the appropriate changes. Tipically you must set this two variables :
$STPHPLIB_DIR
sets this variable to the complete path where you have
installed the library.
Typically : /var/www/stphplib,
where /var/www/ is the root dir of your web server.
$STJSLIB_DIR
sets this variable to the path where js files are available
through your web server.
Typically : /stphplib/js if your installation path is /var/www/stphplib
Open your browser and request the main file of the example.
Title :
Window Simple
Description :
This is a first example to use STPHPLib.
It creates a simple application with a main window
and some components in it : a checkbox group, a radiogroup and a listbox.
The attributes of the components are stored in a xml file (wndsimple.xml) and read
by STXMLDoc component.
The main file is : wndsimple.php.
If you have installed the library and the example as described above, you
should see the sample at the link : http://localhost/stphplib/samples/simple/wndsimple.php.