iceduman Posted August 28, 2017 Share Posted August 28, 2017 iletişim formundaki formlar gelmiyor mail adresine. form mail </div></div></div><div id="imCell_1" class="" > <div id="imCellStyleGraphics_1"></div><div id="imCellStyle_1" data-responsive-sequence-number="3"><form id="imObjectForm_1" action="imemail/imEmailForm.php" method="get" enctype="multipart/form-data"> <fieldset class="first"> <div> <div id="imObjectForm_1_1_container" class="imObjectFormFieldContainer"><label id="imObjectForm_1_1_label" for="imObjectForm_1_1">İsim*</label><br /><div id="imObjectForm_1_1_field"> <input type="text" maxlength="50" class="mandatory valMaxLength[50]" id="imObjectForm_1_1" name="imObjectForm_1_1" /></div> </div> <div id="imObjectForm_1_2_container" class="imObjectFormFieldContainer"><label id="imObjectForm_1_2_label" for="imObjectForm_1_2">Telefon*</label><br /><div id="imObjectForm_1_2_field"> <input type="text" maxlength="20" class="mandatory valNumber valMaxLength[20]" id="imObjectForm_1_2" name="imObjectForm_1_2" /></div> </div> <div id="imObjectForm_1_3_container" class="imObjectFormFieldContainer"><label id="imObjectForm_1_3_label" for="imObjectForm_1_3">E-posta*</label><br /><div id="imObjectForm_1_3_field"> <input type="text" class="mandatory valEmail" id="imObjectForm_1_3" name="imObjectForm_1_3" /></div> </div> <div id="imObjectForm_1_4_container" class="imObjectFormFieldContainer"><label id="imObjectForm_1_4_label" for="imObjectForm_1_4">Mesaj*</label><br /><div id="imObjectForm_1_4_field"> <textarea class="mandatory " id="imObjectForm_1_4" name="imObjectForm_1_4" ></textarea></div> </div> <div id="imObjectForm_1_5_container" class="imObjectFormFieldContainer"><label id="imObjectForm_1_5_label" for="imObjectForm_1_5">Dosya Eki</label><br /><div id="imObjectForm_1_5_field"> <input type="file" class="" data-extensions="" id="imObjectForm_1_5" name="imObjectForm_1_5" /></div> </div> </div> </fieldset> <fieldset> <div class="x5captcha-wrap"> <label>Kontrol kelimesi:</label><br /> <input type="text" class="imCpt" name="imCpt" maxlength="5" /> </div> <input type="text" id="imObjectForm_1_prot" name="imSpProt" /> </fieldset> <div id="imObjectForm_1_buttonswrap"> <input type="submit" value="Gönder" /> <input type="reset" value="Sıfırla" /> </div> </form> <script>x5engine.boot.push('x5engine.imForm.initForm(\'#imObjectForm_1\', false, {jsid: \'20274842C0048AC84FCB3933D836FCFD\', type: \'tip\', showAll: true, classes: \'validator\', landingPage: \'index.html\', labelColor: \'#000000\', fieldColor: \'#567EB6\', selectedFieldColor: \'#567EB6\'})');</script> </div></div> </div></div> </div> </div> gönderim <?php if(substr(basename($_SERVER['PHP_SELF']), 0, 11) == "imEmailForm") { include '../res/x5engine.php'; $form = new ImForm(); $form->setField('İsim', $_GET['imObjectForm_1_1'], '', false); $form->setField('Telefon', $_GET['imObjectForm_1_2'], '', false); $form->setField('E-posta', $_GET['imObjectForm_1_3'], '', false); $form->setField('Mesaj', $_GET['imObjectForm_1_4'], '', false); $fileResult = $form->setFile('Dosya Eki', $_FILES['imObjectForm_1_5'], $imSettings['general']['public_folder'], '', ''); if ($fileResult == -1) { die(imPrintError('Cannot send file: Dosya Eki')); } if ($fileResult < -1) { die(imPrintError('"Dosya Eki" biçimi yanlış.')); } if(@$_GET['action'] != 'check_answer') { if(!isset($_GET['imJsCheck']) || $_GET['imJsCheck'] != '20274842C0048AC84FCB3933D836FCFD' || (isset($_GET['imSpProt']) && $_GET['imSpProt'] != "")) die(imPrintJsError()); $form->mailToOwner($_GET['imObjectForm_1_3'] != "" ? $_GET['imObjectForm_1_3'] : 'iletisim@***.com', 'iletisim@m***.com', 'Site Form Mail', '', false); @header('Location: ../index.html'); exit(); } else { echo $form->checkAnswer(@$_GET['id'], @$_GET['answer']) ? 1 : 0; } } // End of file Quote Link to comment Share on other sites More sharing options...
redboy Posted June 5, 2018 Share Posted June 5, 2018 Verdiği bir hata mesajı var mıdır kodların? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.