ISMINGIZ
+6 ovoz
477 ko'rilgan 6 2

Masalan sizga zakaz tushadi.
bu zakazni yuborish uchun foydalanuvchi saytga kiradi
shu saytda xabar qoldirish uchun joy bo’ladi(email tel nomer va ism)
shu narsani qanday yaratsa bo’ladi.
qoldirilgan xabarlar pochtamga borib turishi kerak

Bu mavzu Fan va Texnika bo'limida
Teg o'zgartirilgan | 477 ko'rilgan

2 Javob

+2 ovoz
2
<strong style="line-height: 1.5em;">ISMINGIZ</strong><input type="text" name="" size="25" /><strong style="line-height: 1.5em;"><span style="line-height: 1.5em;">FAMILIYANGIZ </span></strong><input type="text" name="" size="25" />

<form action="mailto:@umail.uz" method="GET" name="ZAFARJON1@umail.uz">
<table>
<tbody>
<tr>
<td>KIMNING QABULIGA</td>
<td>NIMA MASALADA</td>
<td>VAQTI</td>
</tr>
<tr>
<td><input type="RADIO" name="DIREKTOR" value="DIREKTOR" />DIREKTOR</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
<tr>
<td><input type="RADIO" name="MMIBDM" value="MMIBDM" />MMIBDM</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
<tr>
<td><input type="RADIO" name="O`IBDO`" value="O`IBDO`" />O`IBDO`</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
<tr>
<td><input type="RADIO" name="ICHTBDM`" value="ICHTBDM" />ICHTBDM</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
<tr>
<td><input type="RADIO" name="YURIST" value="YURIST" />YURIST</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
<tr>
<td><input type="RADIO" name="XBN" value="XBN" />XBN</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
<tr>
<td><input type="RADIO" name="BOSH XISOBCHI" value="BOSH XISOBCHI" />BOSH XISOBCHI</td>
<td><input type="CHECKBOX" name="O`QISH MASALASI" value="O`qish masalasi" />O`qish masalasi</td>
<td><input type="CHECKBOX" name="10-00" value="10-00" />10-00</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Shaxsiy masala" value="Shaxsiy masala" />Shaxsiy masala</td>
<td><input type="CHECKBOX" name="11-30" value="11-30" />11-30</td>
</tr>
<tr>
<td></td>
<td><input type="CHECKBOX" name="Ish bilan bog`liq masala" value="Ish bilan bog`liq masala" />Ish bilan bog`liq masala</td>
<td><input type="CHECKBOX" name="12-00" value="12-00" />12-00</td>
</tr>
</tbody>
</table>
IZOH: <textarea cols="100" rows="4"> </textarea> <strong></strong><input type="SUBMIT" value="SO`ROVNI JO`NAT" /><input type="RESET" value="SO`ROVNI TOZALASH" /></form>&nbsp;

FOYDALANIB KO`RING!!!  lekin pochtaga tushushi aniqmas
+1
Buni phpda qilishni iloji yo'qmi ? men phpda qilgandim .habar jo'natayotganda xabar jo'natildai deydi lekin o'sha php kod yozilgan papkaga kirsam yana bir fayl hosil bo'ladi (nomi: error_log). U faylga kirsa quyidagi kodni ko'rsatadi :
[08-Apr-2017 13:20:42 Asia/Samarkand] PHP Warning:  mail() [<a href='function.mail'>function.mail</a>]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' in /home/multimax/public_html/php/contact-form/php/contact.php on line 24
[13-Apr-2017 15:16:54 Asia/Samarkand] PHP Warning:  mail() [<a href='function.mail'>function.mail</a>]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' in /home/multimax/public_html/php/contact-form/php/contact.php on line 24


Mening php kodim quyidagicha hato bo'lsa ayting :

<?php

if(isset($_REQUEST["isvalid"])){

    $youremail = "Javohir595@mail.ru"; // Enter your email here!!
    $name = $_POST["username"];
    $email = $_POST["useremail"];
    $mailsubject = $_POST["usersubject"];
    $subject = $_POST["usersubject"];
    $usermessage = $_POST["usermessage"];
    $message =

"You have been contacted by $name with regards to $subject and the Message as follows:

$usermessage

...............................................

Contact details:

Email Address: $email";

    $headers = 'From:' . $email . "\r\n";
    mail($youremail, $mailsubject, $message, $headers);

    echo "success";

} else {

    echo "failed";

}
0 ovoz
0
function sendMail() { event.preventDefault(); var n = $("#name").val(); var e = $("#email").val(); var m = $("#message").val(); var data = "name="+n+"&email="+e+"&message="+m; if(n != '' && e != '' && m != '') { if( /\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/i.test(e) ){ $("#email_error").hide(); $.ajax({ type: "POST", url: "http://sample.uz/mailer.php", data: data, cache: false, success: function(res){ res = JSON.parse(res); if (res.error == true) { $("#notifyMessage").html(res.message); $("#notify").addClass('uk-alert-danger'); $("#notify").removeClass('uk-alert-success'); $("#notify").show(); } else { $("#notifyMessage").html(res.message); $("#notify").addClass('uk-alert-success'); $("#notify").removeClass('uk-alert-danger'); $("#notify").show(); $("#name").val(""); $("#email").val(""); $("#message").val(""); } }, error: function(res){ $("#notifyMessage").html("Xatni yuborishda xatolik yuz berdi. Internet tarmog‘iga ulanganingizga ishonch hosil qiling."); $("#notify").addClass('uk-alert-danger'); $("#notify").show(); } }); } else { $("#email_error").show(); } } else { $("#name, #email, #message").removeClass("uk-form-danger"); if (n == '') { $("#name").addClass("uk-form-danger"); } if (e == '') { $("#email").addClass("uk-form-danger"); } if (m == '') { $("#message").addClass("uk-form-danger"); } } return false; }

O'xshash savollar

+12 ovoz
3 javob
hakbarov@gmail.com Bu mavzu Internet bo'limida 10 Apr, 17 savol berdi | 4.7k ko'rilgan
+9 ovoz
1 javob
+11 ovoz
2 javob
Jahongir Temirov Bu mavzu Internet bo'limida 27 Apr, 17 savol berdi | 2.5k ko'rilgan
+5 ovoz
1 javob
+1 ovoz
3 javob
Arslanalayew Bu mavzu Saytlar bo'limida 29 Okt, 19 savol berdi | 1.1k ko'rilgan