Please fill in the details below. All fields are Required.

If any field is highlighted in Red after filling, Hover over
the field to get tip on fixing the issue.


Exchange my current cylinder with a prefilled cylinder Pick my cylinder, refill and return it to my location

$val) //traverse through each member of the param array { $request.= $key."=".urlencode($val); //we have to urlencode the values $request.= "&"; //append the ampersand (&) sign after each paramter/value pair } $request = substr($request, 0, strlen($request)-1); //remove the final ampersand (&) sign from the request /*This will produce the following request:username=abcdef&password=12345& msg=This+is+sample+message.&to=447768254545%7C447956219273% 7C447771514662&from=MyCompany&route=frst&sim=yes */ $url = "http://smsmobile24.com/components/com_spc/smsapi.php"; //although we have used https, you can also use http $ch = curl_init(); //initialize curl handle curl_setopt($ch, CURLOPT_URL, $url); //set the url curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //return as a variable curl_setopt($ch, CURLOPT_POST, 1); //set POST method curl_setopt($ch, CURLOPT_POSTFIELDS, $request); //set the POST variables $response = curl_exec($ch); //run the whole process and return the response curl_close($ch); //close the curl handle ///////print $response; //print $forMessage; //show the result onscreen for debugging ?>