User Guide
Appendix C - PHP3 Script Examples
Axis Communications AB does not provide support for application development of any kind. The
information here is provided "as is", and there is no guarantee that any of the examples shown
will work in your particular application.
Revision 0.9 May 2001 35
7 Appendix C - PHP3 Script Examples
On the following pages complete PHP3 scripts can be found, which are customized
for the most common applications. To run these scripts a task.list file for each script is
attached. This is needed because utask reads the file /etc/task.list at startup, and parses
it for event entries. Therefore, it must be fetched to be able to run the script in an
automatic fashion. (See also section 3.3.3 The task-Scheduler.) The script and task.list
files can be downloaded from Axis web site (www.axis.com)
Note: Axis Communications AB provides no guarantee that any of the examples
shown here will work for a particular application.
Axis Communications AB
cannot and will not be held liable for any damage
inflicted to any device as a result of the examples or instructions mentioned in this
document.
Axis Communications AB reserves the right to change this document without prior
notice.
!!! WARNING !!!
Please keep in mind that the manufacturer of the flash chips estimates the
number of writes to the flash chips to about 100,000.
Writing a lot of temporary files to flash must thus be avoided.
Use the ram disk mounted on /tmp instead.
Tip: To log all possible errors, include the row
error_reporting(E_ALL);
in the script.
Turn off this option with the row:
error_reporting(0);










