contactformulier.php

Gestart doorNinooo5 reacties57 weergaven

6 berichten · pagina 1 van 1

Ninooo

Lid · Topicstarter

Berichten
259
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo beste mensen,
Ik zoek een gratis contactformulier script want als ik die heb kan ik me site afmaken.
Graag wil ik dat die het doet yummie en dat die goed is en dat je er dingen bij kan doen. Byvoorbeeld jij geeft mij een script met naam , achternaam , email . En dat ik er dan bij doe , naam , achternaam ,email , En tellnummer.
En het moet niet een contactformulier zijn van foxyform.com ik wil een script
Alvast bedankt,

Met vriendelijke groet,
Ninooo.
0
Jvdw

Lid

Berichten
4.321
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?
$emailadres[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"micra@home.nl"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// wijzig dit indien niet uw email adres[/COLOR]
[COLOR= #0000BB]$copyrigt[/COLOR] [COLOR= #007700]=[/COLOR] false[COLOR= #007700];[/COLOR] [COLOR= #FF8000]// Wijzig dit indien u een copyrigt wilt hebben[/COLOR]
?>
<form method="POST" action="[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$PHP_SELF[/COLOR][COLOR= #007700];[/COLOR] ?>">
<table border="1" width="47%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="28%">Naam</td>
    <td width="72%"><input type="text" name="naam" size="36"></td>
  </tr>
  <tr>
    <td width="28%">E-mail adres</td>
    <td width="72%"><input type="text" name="email" size="36"></td>
  </tr>
  <tr>
    <td width="28%">Onderwerp</td>
    <td width="72%"><input type="text" name="onderwerp" size="36"></td>
  </tr>
  <tr>
    <td width="28%" valign="top">Opmerking</td>
    <td width="72%" height="77" ><textarea rows="4" name="opmerking" cols="30"></textarea></td>
  </tr>
  <tr>
    <td width="100%" colspan="2">
      <p align="center"><input type="submit" value="Verzenden" name="verzenden"><input type="reset" value="Opnieuw" name="reset"></td>
  </tr>
</table>
</form>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$copyrigt[/COLOR] [COLOR= #007700]==[/COLOR] true[COLOR= #007700])
{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"©2003 <a href="mailto:micra@home.nl">Micra</a>"[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #0000BB]$message[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"naam"[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" heeft een mailtje gestuurt via uw site.nn Als opmerking had hij: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]" opmerking"[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"nnZijn email adres is: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"email"[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]".nn Met vriendelijke groeten Micra"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]//bewerk dit naar je eigen message[/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]verzenden[COLOR= #007700]])){[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"naam"[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"email"[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"onderwerp"[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"opmerking"[/COLOR][COLOR= #007700]])
    {[/COLOR]
        [URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$emailadres[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"onderwerp"[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$message[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"Mail is verstuurd en er zal zo snel mogenlijk gereageerd worden."[/COLOR][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/else"]else[/URL]
    [COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"U heeft iets niet correct ingevult."[/COLOR][COLOR= #007700];
    }
}[/COLOR]
?>
0
Ninooo

Lid · Topicstarter

Berichten
259
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Even uit proberen smile
Edit : Werkt niet helemaal de opmerking werkt niet als het in me inbox komt emoHeeft iemand anders nog 1?
0
Jvdw

Lid

Berichten
4.321
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ninooo het werkt wel ik gebruik hem ook?yummie
0
Ninooo

Lid · Topicstarter

Berichten
259
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja het werkt gefixt.
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