Find Jobs
Hire Freelancers

Formulario para envio de SMS con API

€8-30 EUR

In Progress
Posted over 4 years ago

€8-30 EUR

Paid on delivery
Tengo un API que funciona para el envio de SMS! envia uno a la vez.! Quiero hacer un formulario que pueda enviar muchos sms... que envie 1 sms a la vez (cuando envie uno siga el otro y asi...) para que no colapse el script... y me aparezca abajo en otro apartado cada numero que se envió con un OK cuando se haya enviado.! este es masomenos un ejemplo! [login to view URL] el api es este: CÓDIGO PHP //CREACION DE NUEVO ENVIO DE SMS // <------------------- SMS V1.0 ---------------------> $codapi = ""; $remitente = ""; //nombre o numero de quien envia el SMS $mensaje = ""; //mensaje a enviar $destinatario = ""; //numeros de celular separados por (,) $idgrupo = ""; //id del grupo al que se le enviará el SMS $fecha_envio = ""; //fecha de programación $idlote = ""; //identificador para agrupar varios envíos (alfanumérico) $url = "[login to view URL]"; $url = str_replace(" ",'%20',$url); $ch=curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1) ; curl_setopt($ch, CURLOPT_POSTFIELDS, "codapi=".$codapi."&remitente=".$remitente."&mensaje=".$mensaje."&destinatario=".$destinatario. "&idgrupo=".$idgrupo."&fecha_envio=".$fecha_envio."&idlote=".$idlote.""); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 1); $result = curl_exec($ch); curl_close($ch); //Para escribir la respuesta, descomenta la siguiente linea echo $result; // <------------- API----------------->
Project ID: 23293521

About the project

Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of SPAIN
palma de mallorca, Spain
5.0
9
Payment method verified
Member since Nov 4, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.