Axis 2400 - PHP3 GUIDE Manual page 58

Php3 guide
Table of Contents

Advertisement

Appendix C - PHP3 Script Examples
error_log("Restarting buffer(s)",0);
for($c=0;$c<(strlen($sources));$c++)
{
$command="bufferd -reset -buffername
".$buffer_prefix.substr($sources,$c,1);
system($command);
$command="bufferd -start -buffername
".$buffer_prefix.substr($sources,$c,1)." -pre ".strval($pre)." -
post ".strval($post)." -predelay ".strval($predelay)." -
postdelay ".strval($postdelay)." -uri
ftp://jpg/".substr($sources,$c,1)."/".$image_format.".jpg";
system($command);
}
?>
(Needed to run the script above and it's important that the file is named task.list)
once immune % /bin/bufferd : -start -buffername CAM1 -pre 2 -post 2 -
predelay 1000 -postdelay 1000 -uri ftp://jpg/1/fullsize.jpg;
date(w(0,1,2,3,4,5,6)) pattern((IO0:/)) immune once % /bin/sh : -c
php /etc/httpd/html/alarm_smtp_net.php3;
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
// Reset and restart
//buffers
TASK.LIST
57

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 2400 - PHP3 GUIDE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

2401 - php3 guide2420 - php3 guide240024012420

Table of Contents