Jump to content

Cum Creez Fisierul Mail.php Pentru Formular Contact?


Recommended Posts

Ce ar trebui sa adaug in fisierul mail.php daca am urmatoarele linii de cod in contact.html:
<form method="post" name="contact" action="mail.php">

                      <label for="author">Nume: *</label> <input type="text" id="author" name="author" class="required input_field" />
                      <div class="cleaner_h10"></div>
                        <label for="email">Email:</label> <input type="text" id="email" name="email" class="validate-email required input_field" />
                      	<div class="cleaner_h10"></div>
                        <label for="email">Subiect:</label> <input type="text" id="subject" name="subject" class="validate-email required input_field" />
                      	<div class="cleaner_h10"></div>
                        <label for="text">Mesaj:</label> <textarea id="text" name="text" rows="0" cols="0" class="required"></textarea>
                        <div class="cleaner_h10"></div>
                        <input type="submit" class="submit_btn" name="submit" id="submit" value="Trimite" />
                        <input type="reset" class="submit_btn" name="reset" id="reset" value="Retrimite" />


Link to comment
Share on other sites

Bineinteles ca are. Fisierele PHP nu functioneaza ca cele HTML pe localhost (calculatorul tau). Ai nevoie de Apache pentru a putea testa codurile PHP pe calculatorul tau.

XAMPP sau WAMP te pot ajuta in acese sens.

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.