Goeie contact formulier gezocht!

Gestart doorNidatje5 reacties25 weergaven

6 berichten · pagina 1 van 1

Nidatje

Lid · Topicstarter

Berichten
534
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Werkende contact formulier gezocht..

prijs komen we wel uit smile!
0
Berichten
610
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
En dat contact formulier wil je op PHP neem ik aan of op html? xD
0
Nidatje

Lid · Topicstarter

Berichten
534
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
doe niet dom php natuurijk.
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb er wel 1..
Voorbeeld kan je zien op kjeldlarmit.nl..

Bij interesse even een pb sturen, ik ben weg tot vanavond 11 uur, en dan ga ik slapen..
Was vanmorgen om 5.30 thuis (ik wist niet eens dat het om 5 uur al licht was? emo)

Morgen ben ik s ochtends even online, en dan kan ik wel reageren denk ik,
verder weer van 2 tot 11 weg
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb er een, je moet wel een paar dingetjes veranderen:

[COLOR= #0000BB]<?php[/COLOR] 
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]address[/COLOR][COLOR= #007700]]) &&[/COLOR] [URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]subject[/COLOR][COLOR= #007700]]) &&[/COLOR] [URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]body[/COLOR][COLOR= #007700]])) {[/COLOR] 
  [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]address[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR] [COLOR= #007700]||[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]body[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]) {[/COLOR] 
    print_error[COLOR= #007700]();[/COLOR] 
    print_form[COLOR= #007700](); 
  }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] 
[URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"jemail@adres.nl"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]subject[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]body[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"n"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]address[/COLOR][COLOR= #007700]]);[/COLOR]
    print_sent[COLOR= #007700](); 
  } 
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] 
  print_form[COLOR= #007700](); 
} 

function[/COLOR] print_form[COLOR= #007700]() {[/COLOR] 
?>  
<table width=100% height=100%> 
<form action="http://www.jedomein.nl/plaats/ditbestand.php" method="POST"> 
<table> 
<tr>
      <td>Je e-mail Address:</td>
      <td><input type="text" name="address"></td></tr> 
<tr>
      <td>Je naam</td>
      <td><input type="text" name="subject"></td></tr> 
<tr><td colspan=2><textarea cols=80 rows=12 name="body" class="text">wat er in het grote vakje komt te staan</textarea></td></tr> 
<tr><td>&nbsp;</td><td><input type="submit" value="Zend de email"></td></tr> 
</form> 
</table> 
[COLOR= #0000BB]<?[/COLOR]  
[COLOR= #007700]} 

function[/COLOR] print_error[COLOR= #007700]() {[/COLOR] 
?> 
<table width=100%> 
<tr><td>Je hebt iets overgeslagen!</td></tr> 
</table> 
[COLOR= #0000BB]<?[/COLOR] 
[COLOR= #007700]} 

function[/COLOR] print_sent[COLOR= #007700]() {[/COLOR] 
?> 
<table width=100%> 
<tr><td>Bericht verzonden!</td></tr> 
</table> 
[COLOR= #0000BB]<?[/COLOR] 
[COLOR= #007700]}[/COLOR] 
?>
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
En jij denkt dat de mails nu niet als spam gezien gaan worden? emoZou wel even de goede headers meesturen..

En als je geen spam wilt, ook even een captcha inbouwen biggrin
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren