Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[PHP] Formularz mailowy - wysyłanie wiadomości
#1
Witam,

Mam następujący formularz w html'u
Cytat:<form id="contact" action="#">
<fieldset>
<span class="error" id="name_error">Proszę wpisać imię !</span>
<span class="error" id="email_error">Proszę wpisać adres e-mail !</span>
<span class="error" id="email_error2">Proszę podać poprawny adres e-mail !</span>
<span class="error" id="msg_error">Proszę wpisać wiadomość !</span>
<input type="text" name="name" id="name" size="50" value="Imię..." class="text-input" onblur="if (this.value == ''){this.value = 'Imię...'; }" onfocus="if (this.value == 'Imię...') {this.value = ''; }" />
<input type="text" name="email" id="email" size="50" value="Email..." class="text-input" onblur="if (this.value == ''){this.value = 'Email...'; }" onfocus="if (this.value == 'Email...') {this.value = ''; }" />
<input type="text" name="subject" id="subject" value="Temat..." class="text-input" onblur="if (this.value == ''){this.value = 'Temat...'; }" onfocus="if (this.value == 'Temat...') {this.value = ''; }" />
<textarea cols="60" rows="10" name="msg" id="msg" class="text-input" onblur="if (this.value == ''){this.value = 'Wiadomość...'; }" onfocus="if (this.value == 'Wiadomość...') {this.value = ''; }">Wiadomość...</textarea>
<br class="clear" />
<input type="submit" name="submit" class="button mini" id="submit_btn" value="Wyślij"/>
</fieldset>
</form>

Czy ktoś może mi pomóc jak powinien wyglądać plik PHP aby dane wpisane tutaj były wysyłane na maila ?
Odpowiedz


Wiadomości w tym wątku
[PHP] Formularz mailowy - wysyłanie wiadomości - przez spolprog - 03-09-2013, 15:51

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Jak zrobic Formularz Kontaktowy na stronie ? Kodarth 191 256,751 06-04-2021, 16:25
Ostatni post: zerin
  Walidacja zdjęć + formularz harvester2001 6 6,003 24-03-2014, 19:01
Ostatni post: harvester2001
  php formularz - wszystkie pola muszą być wypełnione d3d3d3 2 3,650 01-10-2013, 14:16
Ostatni post: Kartofelek
  Pewny formularz and licznik JOzEk 1 2,357 04-05-2013, 14:35
Ostatni post: Engine
  Formularz dodający post suchar 4 3,512 04-08-2012, 14:09
Ostatni post: GeoAce5

Skocz do:


Użytkownicy przeglądający ten wątek:
Sponsorzy i przyjaciele
SeoHost.pl