Hi,
I was trying to send sms with (version 1.0) special characters like:
a sum 1+2=3 a division 1/2=0.5 an at @ a tilde ~ and {}
they are not correctly encoded by the bulksms class, i can see in the
gateway history they appear as:
a sum 1+2=3 a division 1/2=0.5 an at @ a tilde ? and ??
I saw you are using the urlencode properities but it's strange because
this function is working properly with the ~ and {}.
So no idea where the bug is!
I would suspect it's exactly as it says.. unable to connecto to that
server. Check the server name & port number.
Andy
--- In php-bulksms@yahoogroups.com, "swartbees" <barry@...> wrote:
>
> Hi
>
> I have installed the class, but when I try to run a sample script I
> get the following error:
>
> Warning: fsockopen() [function.fsockopen]: unable to connect to
> bulksms.2way.co.za:5567 in /usr/www/users/xxxx/test/http.inc on
line 766
> There was an error, status code: -2
>
> Any ideas?
>
> Josh
>
Hi
I have installed the class, but when I try to run a sample script I
get the following error:
Warning: fsockopen() [function.fsockopen]: unable to connect to
bulksms.2way.co.za:5567 in /usr/www/users/xxxx/test/http.inc on line 766
There was an error, status code: -2
Any ideas?
Josh
----- Original Message ---- From: StringfellaHawk <aalimandalbd@...> To: php-bulksms@yahoogroups.com Sent: Monday, 12 March, 2007 4:37:15 PM Subject: [php-bulksms] Re: How to get started
---
hello iam new to this group.But classes:bulk classes
sounds great.How do i get started.have created an acc at the site: http://bulksms. vsms.net
Not received activation code.Emailed them regarding this ,and waiting
their reply.
mean while bulk classes has :a inc file and a class file so i get started?
In php-bulksms@ yahoogroups. com, "liamhatt" <liam@...> wrote:
>
> --- In php-bulksms@ yahoogroups. com, "Madan Mohan Reddy Challa"
> <madan_mohan_ reddy@y.. .> wrote:
> > Hi,
>
> Hello,
>
> > 1.How to get username/password, do I have to contact
> bulksms.vsms. net
> > [for NZ].
>
> You simply need to visit http://bulksms. vsms.net/ register/ to create
> an account.
>
> > 2. What does it cost per text[new zealand, australia].
>
> The pricing information is detailed at
> http://bulksms. vsms.net/ w/pricing. htm and at
> http://bulksms. vsms.net/ coverage/ - the actual cost depends on how
> many credits you purchase and the route selected. To New Zealand, the
> cost is 1 message credit for the economy route, or 1.77 credits for
> the standard route. The operators they list as having coverage to in
> New Zealand is Telecom NZ, Telstra NZ & Vodafone (BellSouth).
>
> > 3. What will be the gateway..?
>
> The SMS messages are forwarded by the PHP class to the BulkSMS system
> via HTTP. I have no idea what particular network routes BulkSMS use as
> they operate their own networks, however I would guess it would be
> through major international SMS centres in Europe and perhaps South
> Africa. You can e-mail BulkSMS customer service at
> support@... as they would have a better idea on this.
>
> > 4. Can I get a DEMO ACCOUNT for testing.
>
> Creating an account with BulkSMS is free, and they give you several
> free message credits to get started. You can use these credits to test
> your implementation before buying them.
>
> Kind Regards,
>
> Liam Hatton
>
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard protect you.
---
hello iam new to this group.But classes:bulk classes
sounds great.How do i get started.have created an acc at the site:
http://bulksms.vsms.net
Not received activation code.Emailed them regarding this ,and waiting
their reply.
mean while bulk classes has :a inc file and a class file so i get started?
In php-bulksms@yahoogroups.com, "liamhatt" <liam@...> wrote:
>
> --- In php-bulksms@yahoogroups.com, "Madan Mohan Reddy Challa"
> <madan_mohan_reddy@y...> wrote:
> > Hi,
>
> Hello,
>
> > 1.How to get username/password, do I have to contact
> bulksms.vsms.net
> > [for NZ].
>
> You simply need to visit http://bulksms.vsms.net/register/ to create
> an account.
>
> > 2. What does it cost per text[new zealand, australia].
>
> The pricing information is detailed at
> http://bulksms.vsms.net/w/pricing.htm and at
> http://bulksms.vsms.net/coverage/ - the actual cost depends on how
> many credits you purchase and the route selected. To New Zealand, the
> cost is 1 message credit for the economy route, or 1.77 credits for
> the standard route. The operators they list as having coverage to in
> New Zealand is Telecom NZ, Telstra NZ & Vodafone (BellSouth).
>
> > 3. What will be the gateway..?
>
> The SMS messages are forwarded by the PHP class to the BulkSMS system
> via HTTP. I have no idea what particular network routes BulkSMS use as
> they operate their own networks, however I would guess it would be
> through major international SMS centres in Europe and perhaps South
> Africa. You can e-mail BulkSMS customer service at
> support@... as they would have a better idea on this.
>
> > 4. Can I get a DEMO ACCOUNT for testing.
>
> Creating an account with BulkSMS is free, and they give you several
> free message credits to get started. You can use these credits to test
> your implementation before buying them.
>
> Kind Regards,
>
> Liam Hatton
>
Silly me!
I finally found documentation, and once I read those, I wrote a custom
PHP script that did the actual sending from a webform.
Please ignore my previous mail.
Thanks a lot!
Kobus
>>> ITBJDM@... 4/11/2006 2:57 PM >>>
Hi,
I am really at a loss for getting it to work on my server.
I am located in South Africa, and have set the following information:
define('BULKSMS_USERNAME', 'theusernamehere');
define('BULKSMS_PASSWORD', 'thepasswordhere');
define('BULKSMS_HOST','bulksms.2way.co.za');
And have uploaded the following files:
bulksms.php
http.inc
post_test.php
proxy_test.php
get_test.php
multipart_test.php
I am expecting a form where I can input the sms and click send? Am I
correct? Is there something else I need to do?
I go to: http://www.mydomain.com/bulksms
I am trying to find the complete documentation but I can't find the
domain name (*.liam.hatton.name). Am I missing something?
Thanks in advance,
Kobus
Yahoo! Groups Links
Hi,
I am really at a loss for getting it to work on my server.
I am located in South Africa, and have set the following information:
define('BULKSMS_USERNAME', 'theusernamehere');
define('BULKSMS_PASSWORD', 'thepasswordhere');
define('BULKSMS_HOST','bulksms.2way.co.za');
And have uploaded the following files:
bulksms.php
http.inc
post_test.php
proxy_test.php
get_test.php
multipart_test.php
I am expecting a form where I can input the sms and click send? Am I
correct? Is there something else I need to do?
I go to: http://www.mydomain.com/bulksms
I am trying to find the complete documentation but I can't find the
domain name (*.liam.hatton.name). Am I missing something?
Thanks in advance,
Kobus
Enter your vote today! A new poll has been created for the
php-bulksms group:
What do you think of the new documentation (see the website
http://php-bulksms.liam.hatton.name/ )?
o Fantastic - it's perfect!
o It's good, but could use some more work.
o Terrible - it was a mess, or I couldn't get it working.
To vote, please visit the following web page:
http://groups.yahoo.com/group/php-bulksms/surveys?id=12149139
Note: Please do not reply to this message. Poll votes are
not collected via email. To vote, you must go to the Yahoo! Groups
web site listed above.
Thanks!
Hello,
A new stable version of the php-bulksms class, 1.0, has just been
released and has the following updates and additions:
- Upgraded version number to a stable release.
- New documentation and website (based on the excellent TiddlyWiki
software).
This code is identical to the previous version 0.93 - it is not
necessary to update for your existing scripts using the older version
of the class.
You can download the new version and have a look at the new
documentation at <http://php-bulksms.liam.hatton.name/>.
Please note that I do not intend to be adding new features or putting
any more extensive work into this class, although I will continue to
issue updates for the purpose of addressing minor issues and will
continue to provide support via this forum.
Kind Regards,
Liam Hatton
--- In php-bulksms@yahoogroups.com, "Madan Mohan Reddy Challa"
<madan_mohan_reddy@y...> wrote:
> Hi,
Hello,
> 1.How to get username/password, do I have to contact
bulksms.vsms.net
> [for NZ].
You simply need to visit http://bulksms.vsms.net/register/ to create
an account.
> 2. What does it cost per text[new zealand, australia].
The pricing information is detailed at
http://bulksms.vsms.net/w/pricing.htm and at
http://bulksms.vsms.net/coverage/ - the actual cost depends on how
many credits you purchase and the route selected. To New Zealand, the
cost is 1 message credit for the economy route, or 1.77 credits for
the standard route. The operators they list as having coverage to in
New Zealand is Telecom NZ, Telstra NZ & Vodafone (BellSouth).
> 3. What will be the gateway..?
The SMS messages are forwarded by the PHP class to the BulkSMS system
via HTTP. I have no idea what particular network routes BulkSMS use as
they operate their own networks, however I would guess it would be
through major international SMS centres in Europe and perhaps South
Africa. You can e-mail BulkSMS customer service at
support@... as they would have a better idea on this.
> 4. Can I get a DEMO ACCOUNT for testing.
Creating an account with BulkSMS is free, and they give you several
free message credits to get started. You can use these credits to test
your implementation before buying them.
Kind Regards,
Liam Hatton
Hi,
I've gone thru the documentation, I am unable to find the
information on how to get started [or may be I missed it].
Can you please post the steps involved to configure/register and
implement the class, the code is clear but I have a feeling that
something is missing.
1.How to get username/password, do I have to contact bulksms.vsms.net
[for NZ].
2. What does it cost per text[new zealand, australia].
3. What will be the gateway..?
4. Can I get a DEMO ACCOUNT for testing.
Thank You
Hello,
A new version of the php-bulksms class, 0.93, is available for
download from my website at <http://dl.liam.hatton.name/> and
features
the following additions and updates:
- Added new functions for batch SMS sending and handling incoming
pushed messages.
- Added new feature allowing you to change the HTTP port used for
connection (if you are behind a firewall) - this is an undocumented
feature of BulkSMS
- Tidied up the header and added additional error handling for
BULKSMS_HOST, in case it isn't set (before it would freeze if this
was
not set)
More detail regarding the added functionality in this release is
available by reading the manual at <http://dl.liam.hatton.name/
bulksms-readme.htm>
There are no major bug fixes in this particular version so it is not
necessary to update your existing copy unless you would like to make
use of the new functionality. This version is backwards-compatible
with older versions of the class and you can simply drop it in place
after configuration (no need to modify your existing scripts).
I am always interested to hear any comments, and if you experience
any
difficulties please use this mailing list rather than forwarding
questions directly to me, as it will mean that the answers will be
available publicly for the benefit of all users.
Kind Regards,
Liam Hatton
The API into BulkSMS was a good API, but this PHP Class makes it so
easy to implement.
I started out with the Perl code and got that to work, tried this PHP
class and was instantly converted.
Fantastic work!
-Andy-