0
/*SMS*/
$_objSmsProtocolGsm = new Com("ActiveXperts.SmsProtocolGsm");
$objMessage   = new Com ("ActiveXperts.SmsMessage");
$objConstants = new Com ("ActiveXperts.SmsConstants");

$objMessage->Recipient = $cell;
$objMessage->Format = $objConstants->asMESSAGEFORMAT_UNICODE;
$objMessage->Data = "Your password is: " . $r;
$_objSmsProtocolGsm->Device = "HUAWEI Mobile Connect - 3G Modem #2";
$_objSmsProtocolGsm->DeviceSpeed = 0;
if( $_objSmsProtocolGsm->LastError == 0 ){
    $_objSmsProtocolGsm->Send( $objMessage );
}


$_SESSION["lastname"] = "";
$_SESSION["firstname"] = "";
$_SESSION["middlename"] = "";
$_SESSION["address"] = "";
$_SESSION["bday"] = "";
$_SESSION["nationality"] = "";
$_SESSION["cell"] = "";
$_SESSION["height"] = "";
$_SESSION["agent"] = "";
$_SESSION["mother"] = "";
$_SESSION["email"] = "";
$_SESSION["civilstat"] = "";
$_SESSION["hair"] = "";
$_SESSION["complexion"] = "";
$_SESSION["weight"]  = "";
$_SESSION["vital"]  = "";
$_SESSION["father"] = "";
$_SESSION["birthdate"] = "";

I've had that error when i was testing an SMS fucntion in my PHP code. I have been told to add this
"[COM_DOT_NET]
;extension="php_com_dotnet.dll"" in the PHP.ini files. but it still doesn't go away. I do have the DLL in the ext folder in my XAMPP directory

here is my current PHP version "5.4.22 "

2
Contributors
4
Replies
7
Views
3 Years
Discussion Span
Last Post by SPRINGHEEL
0

Remove the semicolon preceding extension otherwise the line is considered a comment and remove also the double quotes, so:

extension=php_com_dotnet.dll
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.