<?php $Username = "YourUsername"; $Password = "YourPassword"; $MMSFileStorageDir = "C:\\"; $From = $_REQUEST['from']; $Text = $_REQUEST['text']; $MsgId = $_REQUEST['msgid']; $FileList = $_REQUEST['filelist']; $FileListArray = explode ( ",", $FileList ); foreach ( $FileListArray as $MMSFilePart ) { echo "Retriving file $MMSFilePart...<br>"; $URL = "http://www.intellisoftware.co.uk/smsgateway/retrievemms.aspx?"; $URL .= "username=" . $Username . "&"; $URL .= "password=" . $Password . "&"; $URL .= "msgid=" . $MsgId . "&"; $URL .= "msgpart=" . $MMSFilePart; copy($URL, $MMSFileStorageDir . $MsgId . "_" . $MMSFilePart ); } echo "MMS Retrieval Complete."; ?>
The IntelliSoftware Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close