Find Jobs
Hire Freelancers

cURL rESPONSE IN xml needs proper formatting

$2-4 USD / hour

Adjudicado
Publicado hace más de 10 años

$2-4 USD / hour

I have a php processing page that takes input data from html form and then on my form processing page forwards it to external api using curl. $response = curl_exec($ch); $books = new SimpleXMLElement($response); $result= $books->a1; $reason= $books->a2; Surprisingly , the webpages works absolutely fines sometimes and other times gives error Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/dir/public_html/dir/big/[login to view URL] Stack trace: #0 /home/dir/public_html/dir/big/[login to view URL](77): SimpleXMLElement->__construct('') #1 {main} thrown in /home/dir/public_html/dir/big/[login to view URL] on line 77 the api when used in when entered in normal browser displays result xml like following : This XML file does not appear to have any style information associated with it. The document tree is shown below. test 5.00 2013-09-19 08:21:14 (UTC) Success I need someone to solve the issue by making curl_exec : proper that would not make errors working on teamviewer remote will be appreciated . BID ONLY IF YOU ARE EXPERT ON PHP & CURL EXEC . IF NOT EXCUSE
ID del proyecto: 4944623

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
2 freelancers están ofertando un promedio de $14 USD /hora por este trabajo
Avatar del usuario
Quality work assured. Ready to get started. Thanks.
$25 USD en 2 días
5,0 (444 comentarios)
7,2
7,2

Sobre este cliente

Bandera de UNITED STATES
zhengzhou, United States
5,0
2
Miembro desde may 1, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.