Philippines (HELP: Codes / Free Web Host / Mobile )

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
august
Forum Newbie
Posts: 3
Joined: Wed Mar 30, 2011 6:29 am

Philippines (HELP: Codes / Free Web Host / Mobile )

Post by august »

Hello. I've been trying to figure out what's wrong and what is the problem.

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
include_once("nusoap/lib/nusoap.php");

// create the client and define the URL endpoint
$client = new nusoap_client('http://iplaypen.globelabs.com.ph:1881/a ... /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' ),
"http://ESCPlatform/xsd");
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,

HELP ME
http://www.august.phpnet.us/

Globe labs Link : https://www.globelabs.com.ph/Pages/welcome.asp

I WILL REALLY APPRECIATE IT. THANK YOU.
august
Forum Newbie
Posts: 3
Joined: Wed Mar 30, 2011 6:29 am

Re: Philippines (HELP: Codes / Free Web Host / Mobile )

Post by august »

no reply, sad.

Anyway, i tried to echo what's the error and here what it says

HTTP Error: Couldn't open socket connection to server http://iplaypen.globelabs.com.ph:1881/a ... /Platform/, Error (111) Connection refused. I tried different free web host like x10hosting, phpnet.us, and heliohost.org and many more, and gives me same error.
august
Forum Newbie
Posts: 3
Joined: Wed Mar 30, 2011 6:29 am

Re: Philippines (HELP: Codes / Free Web Host / Mobile )

Post by august »

Solved the problem by buying VPS
manivordertore
Forum Newbie
Posts: 1
Joined: Wed Apr 13, 2011 3:25 am

Re: Philippines (HELP: Codes / Free Web Host / Mobile )

Post by manivordertore »

Yes using Virtual private server could make your work easier. This could give you much workspace for the website and have more time and experiment. You should check the settings on your server and the security too.
Post Reply