Em Andamento

Fix on a JSON contact form

Hi

I have a bug on my contact form (working with JSON).

Can somebody help me to find it and fix it NOW...

I want the job to be done the next hour.

If not, do not bid.

Thanks

<?php

error_reporting(E_ALL ^ E_NOTICE); // hide all basic notices from PHP

$nom = trim($_POST['name']);

$email = trim($_POST['email']);

$tel = trim($_POST['tel']);

$message = trim($_POST['comment']);

$url = trim($_POST['url']);

$emailTo = 'anymail;

$subject = 'Message from '.$nom;

$body = "Nom: $nom \n\nEmail: $email \n\nTelephone: $tel \n\nDemande: $message \n\nURL de la page de provenance: $url ";

$headers = 'From: ' .' <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email;

$mailed = mail($emailTo, $subject, $body, $headers);

if($mailed==true){

$json = json_encode(array('status' => "ok"));

}else{

$json = json_encode(array('status' => "error"));

}

header('Content-Type: application/json; charset=utf-8', true,200);

echo $json;

?>

JS code included

Habilidades: Javascript, jQuery / Prototype

Ver mais: contact hour, nom, json, help find name, find bug, find fix, json jquery page, bug jquery, jquery json page, javascript json, php form array, php hide form, jquery form email, hide content reply, echo fix url php, fix url javascript, form contact jquery, jquery contact php, json php array, hide application code, fix error javascript jquery, prototype json, javascript code hide, contact form help, email form reply

Acerca do Empregador:
( 55 comentários ) Saint-Julien-Le-Montagne, France

ID do Projeto: #6811349

Premiar a:

Devo7

A proposal has not yet been provided

€8 EUR em 0 dias
(4 Avaliações)
1.9

12 freelancers estão ofertando em média €21 para este trabalho

rinsadsl

Hi Good Day I can fix this JSON issue immediately. Looking forward to hear from you. Thanks Rinsad

€20 EUR in 0 dias
(94 Comentários)
6.2
sprextech

----------------------------------------------------------Please Consider on My BID---------------------------------------------------Dear Sir/Madam, We are already read your project description & fully understand this Mais

€20 EUR in 0 dias
(27 Comentários)
4.8
peterham1227

Dear Sir, I am really interested to work on this project, I can start the work now , and can provide the best services from my end. Please come on chat to discuss more about the project. Regards, Peter.

€24 EUR in 0 dias
(3 Comentários)
3.8
krish797

Sir, Yes, I am ready to fix bug in JSON String. I am looking forward to hear from you. Thanks [url removed, login to view]

€14 EUR in 0 dias
(20 Comentários)
3.7
Pokeybit

There is a ' missing from this line: $emailTo = 'anymail; Should be $emailTo = 'anymail'; I have your code running on my server with that line corrected with an email address and the email sends fine.

€12 EUR in 0 dias
(3 Comentários)
3.3
amolnavsupe

Hello, I am a Programmer with 2 years 11 month of work experiences. I'm familiar with Laravel,Codeignitor,HTML5, CSS3, XHTML, Javascript, JQuery, AJAX, JSON, PHP, MySQL,Bootstrap and Wordpress templets. I will c Mais

€8 EUR em 1 dia
(13 Comentários)
2.9
lakelet

Hi, What's the error? I test your code, It seems OK. 8+ years of experience in the following: Website Design, Web development, eCommerce, Drupal, Wordpress, Joomla, PHP, HTML, HTML5, Circuit Design, Electronics, Mais

€30 EUR em 1 dia
(3 Comentários)
1.7
jihadmahfouz199

Hello, we have excellent team of programmers and designers to work on your project efficiently and complete job in time. We have read your deepest requirement at our best and will surely give better results. Please rep Mais

€19 EUR em 1 dia
(8 Comentários)
1.5
kevinorin

Greetings Would love to take on your project. I am a developer with 10+years experience and extensive experience with WordPress, Magento and more. I can achieve your task in a timely and efficient manner. If you are Mais

€50 EUR em 1 dia
(1 Comentário)
1.0
devloud

Bonjour, Hi I have a bug on my contact form (working with JSON). Can somebody help me to find it and fix it NOW... I want the job to be done the next hour. If not, do not bid. Thanks Je suis ready pour régle Mais

€19 EUR em 1 dia
(1 Comentário)
0.1
diastark

Hello sir/madam , We have good experience of PHP,JOOMLA,HTML,HTML5,CSS, Ajax,jquesry,JavaScript,Mysql, Graphic Design,Website Design, Android, mobile application,Photoshop, Banner Design ,Flayer mail,Logo Design, jo Mais

€22 EUR em 1 dia
(1 Comentário)
0.0