Here is the PHP code. I'm using XAMPP PHP/MYSQL. Username and Password is changed for security purposes.
// load the nusoap libraries. These are slower than those built in PHP5 but don't require you to recompile PHP
// create the client and define the URL endpoint
$client = new nusoap_client('http://iplaypen.globelabs.com.ph:1881/axis2/services/Platform/');
// set the character encoding, utf-8 is the standard.
$client->soap_defencoding = 'UTF-8';
$client->call('sendSMS', array( 'uName' => 'kd81fg',
'uPin' => '18416',
'MSISDN' => '09156300965',
'messageString' => 'THIS IS A SAMPLE MESSAGE',
'Display' => '1',
'udh' => '',
'mwi' => '',
'coding' => '0' ),
That code basically send a message once you open the page using Globe Telecom Philippines API. When I tried it to my localhost,
it works, my mobile phone would receive the message, but when I try to upload it (I tried so many free web hosting sites) to a web hosting
site, and try to run it, it will not work.
I don't know what's wrong but I'm pretty sure that the code is perfect. I'm guessing that the free web hosting sites that I tried do not allow
SOAP / XML , or maybe cURL is disabled, or url_fopen is Off on their php.ini (config) or something . I don't really know what's wrong
right now and I need to finish what I'm doing right away. I need an answer now.
If you happen to know any Free web host or Paid hosting (trusted and can activate paid account for days only coz I dont have time to wait
for weeks), 0r you know the problem,
Globe labs Link : https://www.globelabs.com.ph/Pages/welcome.asp
I WILL REALLY APPRECIATE IT. THANK YOU.