Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
C'è qualcuno che potrebbe aiutarmi nel terminare un modulo che stavo approntando da inserire in html
ho un problema e non ne vengo a capo.
jQuery.noConflict();
jQuery(document).ready(function($) {
/* funzione per invio dati tramite jquery */
function ekw_submit(ekw_this) {
var loading = ekw_this.parent().find(".ekw_loading_container");
loading.css("display", "flex");
ekw_loading_point();
var id_form = ekw_this.parent().attr("id");
var ekw_nome = $("#"+id_form+ " *[name='ekw_nome']").val();
var ekw_mail = $("#"+id_form+ " *[name='ekw_mail']").val();
var ekw_cell = $("#"+id_form+ " *[name='ekw_cell']").val();
var ekw_cap = $("#"+id_form+ " *[name='ekw_cap']").val();
var ekw_model = $("#"+id_form+ " *[name='ekw_model']").val();
var ekw_anno = $("#"+id_form+ " *[name='ekw_anno']").val();
var ekw_vin = $("#"+id_form+ " *[name='ekw_vin']").val();
var ekw_messaggio= $("#"+id_form+ " *[name='ekw_messaggio']").val();
if (ekw_nome == '' || ekw_mail == '' || ekw_cell == '' || ekw_vin == '' || ekw_messaggio == '') {
var result = '*** MANCANO ALCUNI DATI NECESSARI (Nome Cognome, Mail, Cell, Vin e il messaggio)! - - - RICONTROLLA E INVIA NUOVAMENTE ***';
$("#"+id_form+ " .ekw_result_message").show();
$("#"+id_form+ " .ekw_result_message > p").html(result);
loading.hide();
} else {
var result = 'IL TUO MESSAGGIO è STATO INVIATO CON SUCCESSO!<br>TI RISPONDEREMO A BREVE';
$.ajax({
type: "POST",
url: "#",
data: {
ekw_contact_form: true,
nome: ekw_nome,
mail: ekw_mail,
cell: ekw_cell,
cap: ekw_cap,
modello: ekw_model,
anno: ekw_anno,
vin: ekw_vin,
messaggio: ekw_messaggio,
},
success: function(){
$("#"+id_form+ " *[name='ekw_form_sumbit']").hide();
$("#"+id_form+ " .ekw_result_message > p").html(result);
$("#"+id_form+ " .ekw_result_message").show();
loading.hide();
},
error: function(){
$("#"+id_form+ " *[name='ekw_form_sumbit']").hide();
$("#"+id_form+ " .ekw_result_message > p").html("ERRORE NELL'INVIO DEL MESSAGGIO... RICARICA LA PAGINA E RIPROVA");
$("#"+id_form+ " .ekw_result_message").show();
loading.hide();
}
});
}
}
/* Animazione del messaggio “solo un secondo” */
function ekw_loading_point() {
var ekw_time = 400;
setTimeout(function(){
$('.ekw_loading_point').eq(0).css("opacity", 1);
}, ekw_time);
setTimeout(function(){
$('.ekw_loading_point').eq(1).css("opacity", 1);
}, ekw_time * 2);
setTimeout(function(){
$('.ekw_loading_point').eq(2).css("opacity", 1);
}, ekw_time * 3);
setTimeout(function(){
$('.ekw_loading_point').css("opacity", 0);
ekw_loading_point();
}, ekw_time * 4);
}
$("button[name='ekw_form_sumbit']").on("click", function() {
ekw_submit($(this));
});
});
Praticamente sto facendo un modulo di contatto.
Adesso ho creato (o meglio ho preso spunto dalla rete) un modulo in html e css e ok fin qui.
ho creato 2 script (1) jquery che dovrebbe analizzare i dati del modulo prima dell'invio e il secondo script (2) in php che deve svolgere il compito di invio.
quando vado a inviare mi appare messaggio di errore e non invia e non capisco dove sia il problema ma credo il problema sia nel (1) script non nel secondo perchè il messaggio di errore è nel (1)
<!-- SCRIPT JS-->
<script language="Javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
/* funzione per invio dati tramite jquery */
function ekw_submit(ekw_this) {
var loading = ekw_this.parent().find(".ekw_loading_container");
loading.css("display", "flex");
ekw_loading_point();
var id_form = ekw_this.parent().attr("id");
var ekw_nome = $("#"+id_form+ " *[name='ekw_nome']").val();
var ekw_mail = $("#"+id_form+ " *[name='ekw_mail']").val();
var ekw_cell = $("#"+id_form+ " *[name='ekw_cell']").val();
var ekw_cap = $("#"+id_form+ " *[name='ekw_cap']").val();
var ekw_model = $("#"+id_form+ " *[name='ekw_model']").val();
var ekw_anno = $("#"+id_form+ " *[name='ekw_anno']").val();
var ekw_vin = $("#"+id_form+ " *[name='ekw_vin']").val();
var ekw_messaggio= $("#"+id_form+ " *[name='ekw_messaggio']").val();
if (ekw_nome == '' || ekw_mail == '' || ekw_cell == '' || ekw_vin == '' || ekw_messaggio == '') {
var result = '*** MANCANO ALCUNI DATI NECESSARI (Nome Cognome, Mail, Cell, Vin e il messaggio)! - - - RICONTROLLA E INVIA NUOVAMENTE ***';
$("#"+id_form+ " .ekw_result_message").show();
$("#"+id_form+ " .ekw_result_message > p").html(result);
loading.hide();
} else {
var result = 'IL TUO MESSAGGIO è STATO INVIATO CON SUCCESSO!<br>TI RISPONDEREMO A BREVE';
$.ajax({
type: "POST",
url: "#",
data: {
ekw_contact_form: true,
nome: ekw_nome,
mail: ekw_mail,
cell: ekw_cell,
cap: ekw_cap,
modello: ekw_model,
anno: ekw_anno,
vin: ekw_vin,
messaggio: ekw_messaggio,
},
success: function(){
$("#"+id_form+ " *[name='ekw_form_sumbit']").hide();
$("#"+id_form+ " .ekw_result_message > p").html(result);
$("#"+id_form+ " .ekw_result_message").show();
loading.hide();
},
error: function(){
$("#"+id_form+ " *[name='ekw_form_sumbit']").hide();
$("#"+id_form+ " .ekw_result_message > p").html("ERRORE NELL'INVIO DEL MESSAGGIO... RICARICA LA PAGINA E RIPROVA");
$("#"+id_form+ " .ekw_result_message").show();
loading.hide();
}
});
}
}
/* Animazione del messaggio “solo un secondo” */
function ekw_loading_point() {
var ekw_time = 400;
setTimeout(function(){
$('.ekw_loading_point').eq(0).css("opacity", 1);
}, ekw_time);
setTimeout(function(){
$('.ekw_loading_point').eq(1).css("opacity", 1);
}, ekw_time * 2);
setTimeout(function(){
$('.ekw_loading_point').eq(2).css("opacity", 1);
}, ekw_time * 3);
setTimeout(function(){
$('.ekw_loading_point').css("opacity", 0);
ekw_loading_point();
}, ekw_time * 4);
}
$("button[name='ekw_form_sumbit']").on("click", function() {
ekw_submit($(this));
});
});
</script>
<!-- SCRIPT PHP -->
<script language="php">
<?php
if (isset($_POST['ekw_contact_form'])){
$to = $_"mia mail@libero.it";
$object = "Nuova richiesta di Preventivo";
$nome = $_POST['nome'];
$mail = $_POST['mail'];
$cell = $_POST['cell'];
$vin = $_POST['vin'];
$modello = $_POST['anno'];
$vin = $_POST['vin'];
$messaggio = $_POST['messaggio'];
$msg = '
<div style="width: -webkit-fill-available; padding: 20px; margin: 50px; border: 1px solid #f1f1f1; border-radius: 80px; box-shadow: 0 0 30px 0 rgba(0,0,0,.06);">
<h1 style="width: 100%;color: #797979; font-size: 22px; font-weight: 400; margin-top: 0px; text-align: center; margin-bottom: 30px;">Nuova richiesta da '.$nome.'</h1>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">Inviato da: '.$nome.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">E-mail: '.$mail.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">Cellulare: '.$cell.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">VIN: '.$vin.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">Messaggio:</p>
<p style="padding: 20px!important;background-color: #f1f1f1;box-shadow: 0 0 25px 0 rgba(0,0,0,.06);">'.$messaggio.'</p>
</div>
';
$headers[] = 'MIME-Version: 1.0';
$headers[] = 'Content-type: text/html; charset=iso-8859-1';
mail($to,$object,$msg, implode("\r\n", $headers));
}
?>
</script>
<?php session_start() ?>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>
.ekw_contact_form {
padding: 50px;
border: 1px solid #d0d0d0;
border-radius: 100px 400px 50px 200px;
box-shadow: 0 0 30px 0 rgba(0,0,0,.09);
margin: auto;
max-width: 1700px;
height: 250px;
background: #111139;
}
.ekw_title_first {
font: 30px Oxygen;
font-weight: 500;
text-align: center;
text-shadow: 0px 0px 7px #ff00aa;
line-height: 40px;
letter-spacing:-1px;
color:#76d;
}
.ekw_contact_form button {
display: inline-block;
margin: 0px -60px 0px 70px;
vertical-align: 8px !important;
border-radius: 10px;
padding: 10px 40px;
font-size: 16px;
color: white;
background: -webkit-linear-gradient(25deg, #5848b7, #ff00ff);
background-size: 100%;
transition: all 0.3s;
border: 0px;
}
.ekw_contact_form button:hover {
padding: 12px 40px;
}
.ekw_input_container {
width: 350px;
height: 35px;
display: inline-flex;
align-items: center;
background-color: white;
border: 1px solid #e6e6e6;;
border-radius: 8px;
padding: 5px 20px 5px 20px;
margin: 10px;
}
.ekw_input_container1 {
width: 1050px;
height: 35px;
display: inline-flex;
align-items: left;
background-color: white;
border: 1px solid #e6e6e6;;
border-radius: 8px;
padding: 5px 20px 5px 20px;
margin: 10px 20px 0 -60px;
}
.ekw_input_container:hover {
box-shadow: 0 0 15px 5px rgba(255,155,255,0.5);
}
.ekw_input_container1:hover {
box-shadow: 0 0 15px 5px rgba(255,155,255,0.5);
}
.ekw_input_container input, textarea {
width: 350px;
font-size: 14px;
border: 1px solid white!important;
-webkit-appearance: none!important;
-moz-appearance: none!important;
appearance: none!important;
padding: 0 0;
transition: all 0.2s;
color: #3d4459;
}
.ekw_input_container1 input, textarea {
width: 1182px;
font-size: 14px;
border: 1px solid white!important;
-webkit-appearance: none!important;
-moz-appearance: none!important;
appearance: none!important;
padding: 0 0;
transition: all 0.2s;
color: #3d4459;
}
.ekw_input_container > input:focus {
border: 1px solid #a5afb8!important;
background-color: #fafafa;
}
.ekw_input_container span {
user-select: none;
font-size: 30px;
background: -webkit-linear-gradient(45deg, #4A44F2, #B12CFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-right: 10px;
}
.ekw_input_container1 span {
user-select: none;
font-size: 30px;
background: -webkit-linear-gradient(45deg, #4A44F2, #B12CFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-right: 10px;
}
input[type='checkbox'] {
-webkit-appearance: none!important;
appearance: none!important;
}
input[type='checkbox']::before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: block;
font-family: 'Material Icons';
content: 'check';
width: 21px;
height: 21px;
font-size: 16px;
font-weight: 900;
position: relative;
background: -webkit-linear-gradient(45deg, #ffffff, #ffffff);
border: 1px solid #B12CFF;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
border-radius: 6px;
margin-right: 10px;
padding: 1px;
transition: all 0.8s;
}
input[type='checkbox']:checked::before {
content: 'check';
border: 2px solid #B12CFF;
padding: 0px;
font-size: 16px;
background: -webkit-linear-gradient(45deg, #4A44F2, #B12CFF);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
@-moz-keyframes ekw_amination_rotate { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes ekw_amination_rotate { 100% { -webkit-transform: rotate(-360deg); } }
@keyframes ekw_amination_rotate { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }
.ekw_loading_container {
background-color: #f3f3f3c2;
background-blend-mode: overlay;
position: fixed;
display: flex;
align-items: center;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
}
.ekw_loading_cirle {
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin: auto;
box-shadow: 0px 1px 10px 6px rgba(0,0,0,0.12);
border-radius: 20px;
min-height: 200px;
padding: 25px;
background-color: white;
}
.ekw_loading_cirle .ekw_loading_text {
display: flex;
margin: auto 20px;
font-size: 21px;
font-weight: 900;
letter-spacing: 2px;
background: -webkit-linear-gradient(45deg, #4A44F2, #B12CFF);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.ekw_loading_cirle .ekw_loading_point {
background: -webkit-linear-gradient(45deg, #4A44F2, #B12CFF);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
font-size: 62px;
margin: 0 5px;
opacity: 0;
}
.ekw_loading_cirle svg {
-webkit-animation:ekw_amination_rotate 2s linear infinite;
-moz-animation:ekw_amination_rotate 2s linear infinite;
animation:ekw_amination_rotate 2s linear infinite;
}
.ekw_text_center {
text-align: center;
}
</style>
<html>
<h0 class="ekw_title_first">Per avere un PREVENTIVO compilare "tutti" i campi sottostanti e clicca su "INVIA"</h0>
<form id="form_01" class="ekw_contact_form" action="#form_01" target="_self" method="post" novalidate>
<!-- Dati Richiedente -->
<div class="ekw_input_container">
<span class="material-icons">perm_identity</span>
<input type="text" name="ekw_nome" id="ekw_nome" value="" placeholder="Nome e Cognome" required>
</div>
<div class="ekw_input_container">
<span class="material-icons">phone</span>
<input type="text" name="ekw_cell" id="ekw_cell" value="" placeholder="Cellulare" required>
</div>
<div class="ekw_input_container">
<span class="material-icons">alternate_email</span>
<input type="text" name="ekw_mail" id="ekw_mail" value="" placeholder="E-mail"required>
</div>
<div class="ekw_input_container">
<span class="material-icons">home</span>
<input type="text" name="ekw_cap" id="ekw_cap" value="" placeholder="Città e Provincia">
</div>
<!-- Dati Veicolo -->
<div class="ekw_input_container">
<span class="material-icons">directions_car</span>
<input type="text" name="ekw_model" id="ekw_model" value="" placeholder="Modello">
</div>
<div class="ekw_input_container">
<span class="material-icons">date_range</span>
<input type="text" name="ekw_anno" id="ekw_anno" value="" placeholder="Anno Immatricolazione">
</div>
<div class="ekw_input_container">
<span class="material-icons">qr_code_2</span>
<input type="text" name="ekw_vin" id="ekw_vin" value="" placeholder="VIN (Codice telaio)" required>
</div>
<div class="ekw_input_container">
<span class="material-icons">file_present</span>
<input type="file" id="file" multiple>
</div>
<!-- Messaggio -->
<div class="ekw_input_container1">
<span class="material-icons">message</span>
<input type="text" name="ekw_messaggio" id="ekw_messaggio" value="" placeholder="Codifiche richieste o messaggio" required></input>
</div>
<!-- Pulsante invia -->
<button type="reset" name="reset">Annulla</button>
<button type="button" name="ekw_form_sumbit">Invia Richiesta</button>
<!-- Messaggio di conferma invio -->
<div class="ekw_text_center ekw_result_message" style="display: none;">
<p>Il tuo messaggio è stato inviato con successo!<br>Ti risponderemo a breve</p>
</div>
<!-- Messaggio animato "solo un secondo" che appare quando l'utente clicca sul pulsante invia -->
<div class="ekw_loading_container" style="display:none;">
<div class="ekw_loading_cirle">
<svg version="1.2" width="65px" height="65px" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 600 600" xml:space="preserve">
<path fill="#4a44f2" d="M300.043,94.419c113.561,0,205.623,92.061,205.623,205.624c0,60.144-25.828,114.249-66.994,151.852 l64.897,68.393c59.312-54.851,96.518-133.279,96.518-220.245C600.087,134.599,465.488,0,300.043,0 c-77.463,0-148.161,29.509-201.45,77.873l64.948,68.444C199.853,114.05,247.646,94.419,300.043,94.419z"/>
<path fill="#b12cff" d="M438.672,451.896c-36.562,33.394-85.21,53.771-138.628,53.771c-113.562,0-205.624-92.062-205.624-205.623 c0-61.164,26.734-116.059,69.121-153.726L98.593,77.873C38.066,132.805,0,212.061,0,300.043 c0,165.445,134.6,300.043,300.043,300.043c78.478,0,150.003-30.299,203.526-79.799L438.672,451.896z"/>
<polygon fill="#4a44f2" points="114.532,91.211 98.593,146.186 154.173,132.503 114.532,91.211 98.593,146.186 154.173,132.503 "/>
<polygon fill="#b12cff" points="503.569,454.487 447.931,467.925 487.387,509.391 503.569,454.487 447.931,467.925 487.387,509.391 "/>
</svg>
<label class="ekw_loading_text">Solo un secondo</label>
<label class="ekw_loading_point">.</label>
<label class="ekw_loading_point">.</label>
<label class="ekw_loading_point">.</label>
</div>
</div>
</form>
<!-- SCRIPT JS-->
<script language="Javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
/* funzione per invio dati tramite jquery */
function ekw_submit(ekw_this) {
var loading = ekw_this.parent().find(".ekw_loading_container");
loading.css("display", "flex");
ekw_loading_point();
var id_form = ekw_this.parent().attr("id");
var ekw_nome = $("#"+id_form+ " *[name='ekw_nome']").val();
var ekw_mail = $("#"+id_form+ " *[name='ekw_mail']").val();
var ekw_cell = $("#"+id_form+ " *[name='ekw_cell']").val();
var ekw_cap = $("#"+id_form+ " *[name='ekw_cap']").val();
var ekw_model = $("#"+id_form+ " *[name='ekw_model']").val();
var ekw_anno = $("#"+id_form+ " *[name='ekw_anno']").val();
var ekw_vin = $("#"+id_form+ " *[name='ekw_vin']").val();
var ekw_messaggio= $("#"+id_form+ " *[name='ekw_messaggio']").val();
if (ekw_nome == '' || ekw_mail == '' || ekw_cell == '' || ekw_vin == '' || ekw_messaggio == '') {
var result = '*** MANCANO ALCUNI DATI NECESSARI (Nome Cognome, Mail, Cell, Vin e il messaggio)! - - - RICONTROLLA E INVIA NUOVAMENTE ***';
$("#"+id_form+ " .ekw_result_message").show();
$("#"+id_form+ " .ekw_result_message > p").html(result);
loading.hide();
} else {
var result = 'IL TUO MESSAGGIO è STATO INVIATO CON SUCCESSO!<br>TI RISPONDEREMO A BREVE';
$.ajax({
type: "POST",
url: "#",
data: {
ekw_contact_form: true,
nome: ekw_nome,
mail: ekw_mail,
cell: ekw_cell,
cap: ekw_cap,
modello: ekw_model,
anno: ekw_anno,
vin: ekw_vin,
messaggio: ekw_messaggio,
},
success: function(){
$("#"+id_form+ " *[name='ekw_form_sumbit']").hide();
$("#"+id_form+ " .ekw_result_message > p").html(result);
$("#"+id_form+ " .ekw_result_message").show();
loading.hide();
},
error: function(){
$("#"+id_form+ " *[name='ekw_form_sumbit']").hide();
$("#"+id_form+ " .ekw_result_message > p").html("ERRORE NELL'INVIO DEL MESSAGGIO... RICARICA LA PAGINA E RIPROVA");
$("#"+id_form+ " .ekw_result_message").show();
loading.hide();
}
});
}
}
/* Animazione del messaggio “solo un secondo” */
function ekw_loading_point() {
var ekw_time = 400;
setTimeout(function(){
$('.ekw_loading_point').eq(0).css("opacity", 1);
}, ekw_time);
setTimeout(function(){
$('.ekw_loading_point').eq(1).css("opacity", 1);
}, ekw_time * 2);
setTimeout(function(){
$('.ekw_loading_point').eq(2).css("opacity", 1);
}, ekw_time * 3);
setTimeout(function(){
$('.ekw_loading_point').css("opacity", 0);
ekw_loading_point();
}, ekw_time * 4);
}
$("button[name='ekw_form_sumbit']").on("click", function() {
ekw_submit($(this));
});
});
</script>
<!-- SCRIPT PHP -->
<script language="php">
<?php
if (isset($_POST['ekw_contact_form'])){
$object = "Nuova richiesta di Preventivo";
$nome = $_POST['nome'];
$mail = $_POST['mail'];
$cell = $_POST['cell'];
$cap = $_POST['cap'];
$modello = $_POST['anno'];
$vin = $_POST['vin'];
$messaggio = $_POST['messaggio'];
$msg = '
<div style="width: -webkit-fill-available; padding: 20px; margin: 50px; border: 1px solid #f1f1f1; border-radius: 80px; box-shadow: 0 0 30px 0 rgba(0,0,0,.06);">
<h1 style="width: 100%;color: #797979; font-size: 22px; font-weight: 400; margin-top: 0px; text-align: center; margin-bottom: 30px;">Nuova richiesta da '.$nome.'</h1>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">Inviato da: '.$nome.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">E-mail: '.$mail.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">Cellulare: '.$cell.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">VIN: '.$vin.'</p>
<p style="width: 100%;color: #797979;font-weight: 400;margin-top: 0px;margin-bottom: 30px;padding-bottom: 5px;border-bottom: 1px solid #f1f1f1;">Messaggio:</p>
<p style="padding: 20px!important;background-color: #f1f1f1;box-shadow: 0 0 25px 0 rgba(0,0,0,.06);">'.$messaggio.'</p>
</div>
';
$headers[] = 'MIME-Version: 1.0';
$headers[] = 'Content-type: text/html; charset=iso-8859-1';
mail("miamail@libero.it",$object,$msg, implode("\r\n", $headers));
}
?>
</script>
</html>
<?php
phpinfo();
?>
TI lascio il link del sito da dove ho preso il codice LINK
Anche mettendo questo ovviamente con la mia mail da lo stesso errore.
Anche con questo ho messo tutto insieme le 4 parti (html, css, jva e php) e messo in weebly il codice e da lo stesso errore
Io ci mastico veramente poco ma è il primo problema che non riesco a risolvere
SIcuramente come dici te non è la procedura corretta ma finora è sempre andata per le altre cose.
mancano pezzi intendi nel sito che ti ho dato?