Een contact script

Gestart doorTimvz6 reacties31 weergaven

7 berichten · pagina 1 van 1

Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Beste one2xsers,

Ik zoek een contact script. Dit contact script moet ook hebben dat er zegger maar bij staat van waar gaat u vraag over en dan kan je uit een paar dingen kiezen zeg maar. de tekts van het contact script moet ook makkelijk aan te passen zijn en het moet met php zijn. Je moet met het contact script ook je email er makkelijk in verwerken. Wie zon script heeft en hem aan mij geef krijg 0,3!

Timvz
0
Timvz

Lid · Topicstarter

Berichten
1.803
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nee sorry die vind ik niet goed iemand anders nog een?
0
Berichten
1.916
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Timievz:
Nee sorry die vind ik niet goed iemand anders nog een?

Ik vind dat script mooi gemaakt, ik snap niet wat er verkeerd aan is, is toch wat je wou?
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Deze gebruik ik altijd ben er tevreden mee

[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

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