Friday, November 01, 2024
Innovative SMS Gateway & Messaging solutions

Examples

Here some XML examples for languages and script languages like PHP, Python, ASP, VBscript-Class, C#, Java, Jabber ...

PHP | Python | ASP/VB-Script | VBscript Class | C# | Java | Jabber

PHP

Please notice that this PHP example is not a complete script.
It only shows the method of how the connect can be made.

<?php
$content = "<?xml version_";
$len = strlen($content);
$fp = fsockopen( "xml3.aspsms.com", 5061 , &$errno, &$errdesc );
    if ( ! $fp ) die ( "Couldn’t connect: $errno   $errdesc\n" );
fputs( $fp, "POST /xmlsvr.asp HTTP/1.0\r\n");
fputs( $fp, "Content-Type: text/xml\r\n");
fputs( $fp, "Content-Length: $len\r\n\r\n");
fputs( $fp, $content);
while ( ! feof( $fp ) )
$reply[] = fgets( $fp, 1024 );
fclose( $fp );
?>

More information about using XML with PHP can be found on the following 3rd party open source page:

www.net-track.ch/opensource/phpaspsms (Archive)

Limitations of Liability
In no event shall we be liable for any damages whatsoever, including - but not restricted to - lost revenue or profits or other direct, indirect, special, incidental or consequential damages, even if they have been advised of the possibility of such damages, except to the extent invariable law, if any, provides otherwise.

More XML examples:

PHP | Python | ASP/VB-Script | VBscript Class | C# | Java | Jabber

New User Registration

Click here for the ASPSMS new user registration.

Have you already registered? Log in with your user e-mail address and password.


Forgot Login Password?

Available SMS tools and interfaces for ASPSMS