YANA 4 PHP Framework
Docs For Class Index
«utility» controller
this implements the main program
Note that as of version 2.8.6 the framework also accepts calls from the PHP command line interface. This is intended to be used for cronjobs and maintenance.
Example of usage (Windows):
php index.php action=test target=detailed >stdout.log
When running PHP from the command line under UNIX, you need to include the following line on top of the "index.php" file:
#!/usr/bin/phpThis is to tell where the PHP binaries can be found.
The path might be another on your server. If you don't know the path, enter the following on your command line:
which phpThis will output the path where the php binaries are installed.
When running the program under Windows this is not necessary. Instead you should change the system path to point to the PHP installation directory, if you have'nt already done that.
See the PHP manual for more details.
Located in /includes/class_index.php
Utility | --Index
The Static function "main" is an YANA controller, used to untaint user data and operate an YANA-instance.
Inherited From Utility
Documentation generated on Sun, 11 Mar 2007 15:02:36 +0100 by phpDocumentor 1.3.1