Mail . Lib - Axis 2400 - PHP3 GUIDE Manual

Php3 guide
Table of Contents

Advertisement

Appendix A – Included Application
$countermax
$startcount
$port
$passive_mode
On error, the function returns '1' (connection failed), '2' (login failed), '3' (upload
failed), '4' (parameter error) or '5' (could not set passive mode).
Parameter error occurs when any of $host, $user, $pass, $source or $destination is
unspecified, or the parameter $suffix has an invalid value.
5.4.3 log.lib
This function allows a PHP3-script to append an entry to the system log.
function log($message)
{
...
}
$message
The function makes a call to the PHP3-function 'error_log($message,0)'.
5.4.4 mail.lib
This function issues a system call to smtpclient.
function
mail($subject,$from,$reply,$to,$copy,$file,$att
ach)
{
...
}
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.91 June 2001
"sequence_max".
Defines the suffix maximum index.
Only applies when $suffix = "sequence".
Defines start value for the suffix index.
Only applies when $suffix = ("sequence"|"sequence_max").
Port on the FTP-server to connect to.
Choose passive mode. "on" or "off".
In passive mode, data connections are initiated by the client,
rather than by the server.
Message to be appended to the system log
27

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

This manual is also suitable for:

2401 - php3 guide2420 - php3 guide240024012420

Table of Contents