Axis 2400 - PHP3 GUIDE Manual page 59

Php3 guide
Table of Contents

Advertisement

Appendix C - PHP3 Script Examples
This script will upload sequential images specified by use of
FTP and the Ethernet interface. The uploaded images will be
ordered in a structure defined by their date. Upon alarm event
(indicated by an existing file named according to $alarm_file)
images from the alarm buffers will be uploaded and a mail
will be sent as specified by the appropriate parameters
(seq_ftp_alarm_ftp_note_smtp_net.php3)
Edit your own parameters below the line.
<?
$seq_buffer_prefix = "SNAP";
$seq_sources = "1";
$seq_seq_image_format = "fullsize";
$delay = 2000;
$file_format = "snapshot";
$ftp_server = "10.13.9.130";
$port = "21";
$user = "user";
$pass = "pass";
$passive_mode = "no";
$seq_destination = "upload/";
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
// The prefix of the name
//the buffer(s) started for
//sequential images
// The index of the name(s)
//of the buffer(s) started
//for sequential images
// The format of the images
//specified to be taken
//according to the HTTP-API
//for sequential images
// Delay, in milliseconds,
//between sequential images
// The name to be given to
//the local file, excluding
//the extension
// The server to upload to
// The port to connect to
// The user to login as
// The pass to use for the
//user
// Choose passive mode on
//("yes") or off ("no").
//(See documentation on FTP
//protocol)
// The path to append to
//sequential uploads. This
//path must exist on the
//server prior to upload.
58

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

2401 - php3 guide2420 - php3 guide240024012420

Table of Contents