Send SMS Message Using Clickatell API - Part 4
The next thing to do is create a file “settings.php” which will store general settings for sending sms messages using clickatell’s api.
settings.php
<?php
$baseurl =”http://api.clickatell.com”;
//User details @ Clickatell
$user = “xxxx”;
$password = “xxxx”;
$api_id = “xxxxx”;//mysql details
$hostname_conn = “xxxx”;
$database_conn = “xxxx”;
$username_conn = “xxxx”;
$password_conn = “xxxx”;
$conn = mysql_pconnect($hostname_conn, $username_conn, $password_conn) or trigger_error(mysql_error(),E_USER_ERROR);?>
User Details @ Clickatell
//$user = This is the username assigned to you by clickatell
//$password = This your clickatell api password;
//$api_id = The api id can be generated on your clickatell control panel
User Details @ Clickatell
// $hostname_conn = This is your database hostname
//database_conn = Change this to the name of your database
// $username_conn = This is the user logon to ur database
// $password_conn = Change this to your database password
Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7















