Location: PHPKode > projects > SMS Web Sender > sms_web_sender/smssend_sites/config/sms_ac.php
<?php
// SMSSend script config file
// -------------------------------------------------
// You should create one of these config files for each SMSSend script you 
// decide to use with SMS Web Sender.

// array holding country code strings (excluding '+')
// null indicates that this site will handle all country codes
$country_codes = null;

// use the following SMS Web Sender constants and map them to the relevant
// SMSSend parameter:
// - SWS_PARAM_USER (username/email to login with)
// - SWS_PARAM_PASS (password to login with)
// - SWS_PARAM_CCODE (country code of number includes '+')
// - SWS_PARAM_CCODE_NP (country code of number excludes '+')
// - SWS_PARAM_NUMBER (number to send to)
// - SWS_PARAM_MESSAGE (message to send)
$param_mapping = array(
'Login'    => SWS_PARAM_USER,
'Password' => SWS_PARAM_PASS,
'Tel'      => SWS_PARAM_NUMBER,
'Message'  => SWS_PARAM_MESSAGE
);

// Error mapping
$error_mapping = array(
1 => SWS_ERR_LOGIN,
2 => SWS_ERR_LOGIN,
3 => SWS_ERR_QUOTA,
4 => SWS_ERR_UNKNOWN
);

// If this script provides additional parameters (apart from the main ones
// mapped above) you should provide values for them here.
$param_values = array(
);

// number format for SWS_PARAM_NUMBER.
// If there's an SMSSend number param, it might want the country code included
// here you specify the format of the number using the following placeholders:
// - '[ccode]' (country code including '+')
// - '[ccode_np]' (country code excluding '+')
// - '[number]' (number)
// - '[number_nz]' (number code excluding the first '0', if present)
$number_format = '[ccode_np][number_nz]';

?>
Return current item: SMS Web Sender