Contact script

Gestart doorOelbert14 reacties94 weergaven

15 berichten · pagina 1 van 1

Oelbert

Lid · Topicstarter

Berichten
509
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb een contact script maar hij zegt als ik op verstuur klik dat ik iets moet includden?confusedHet staat op http://87.238.173.142/~oelbert/VDA/tekenscontact.php. Iemand een idee wat ik moet doen?

Tekenscontact.php

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"top.php"[/COLOR][COLOR= #007700]);[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]
                <h1>
                <div class="updatebalk"><center>Contact</center></div><br>    
                </h1>

<br><br><form action="mail.php">Naam:<br> <input name="naam" type="text" id="naam"> 
<br><br>     Email:<br> <input name="email" type="text" id="email"> <br><br>   
Onderwerp:<br> <input name="onderwerp" type="text" id="onderwerp"> <br><br>  
 Bericht:<br> <textarea name="bericht" cols="40" rows="5" id="bericht"> </textarea> <br> 
<input type="submit" name="Submit" value="Verzenden"> <input type="reset" name="Submit2" value="Wissen">  </form>[/COLOR][COLOR= #007700];[/COLOR]
                
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"bottom.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>


mail.php

[COLOR= #0000BB]<?  $recipient[/COLOR][COLOR= #007700]=([/COLOR][COLOR= #DD0000]"+joostje12@live.nl+"[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #FF8000]//hier je emailadres$subject="+subject+"; //Contact VDA+ //hieronder niet aankomen [/COLOR]
[COLOR= #0000BB]$content[/COLOR][COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Naam:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$naam[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #DD0000]" Email:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #DD0000]" Onderwerp:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$onderwerp[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #DD0000]" Bericht:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].[/COLOR]  [COLOR= #0000BB]$message[/COLOR][COLOR= #007700];[/COLOR]  [URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$recipient[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$subject[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$content[/COLOR][COLOR= #007700]);[/COLOR]  [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Uw mail is met succes verstuurd!"[/COLOR][COLOR= #007700]; ?
>[/COLOR]   // verander de url naar waar contact[COLOR= #007700].[/COLOR]php staat als je hm hebt opgeroepen [COLOR= #007700]<[/COLOR]meta http[COLOR= #007700]-[/COLOR]equiv[COLOR= #007700]=[/COLOR][COLOR= #DD0000]"refresh"[/COLOR] content[COLOR= #007700]=[/COLOR][COLOR= #DD0000]"1; url=?page=contact.php"[/COLOR][COLOR= #007700]>[/COLOR]
0
Berichten
2.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Misschien had je de enters in je mailscript niet weg moeten halen emo
0
Oelbert

Lid · Topicstarter

Berichten
509
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
blooswaren er niet emo
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Zet er dan eens enters neer. yummie
0
Berichten
2.396
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je gebruikt bij mail.php gaan php tag.
Misschien is dit de fout?
0
Oelbert

Lid · Topicstarter

Berichten
509
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
done yummie
0
Oelbert

Lid · Topicstarter

Berichten
509
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dat is de fout nie denk ik, als ik die erbij zet gaat het helemaal fout
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$recipient[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"joostje12@live.nl"[/COLOR] [COLOR= #007700];[/COLOR] [COLOR= #FF8000]//hier je emailadres$subject="+subject+"; //Contact VDA+ //hieronder niet aankomen [/COLOR]
[COLOR= #0000BB]$content[/COLOR][COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Naam:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$naam[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #DD0000]" Email:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #DD0000]" Onderwerp:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$onderwerp[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #DD0000]" Bericht:"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].[/COLOR]  [COLOR= #0000BB]$message[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$recipient[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$subject[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$content[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Uw mail is met succes verstuurd!"[/COLOR][COLOR= #007700];[/COLOR]
?>
<meta http-equiv="refresh" content="1; url=?page=contact.php">


Is dat trouwens je hele script?
Want je gebruikt $naam, $email, $onderwerp, $bericht en $message, terwijl die helemaal niet bestaan.
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Inderdaad...
0
Oelbert

Lid · Topicstarter

Berichten
509
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Niet bestaan?
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je variables bestaan niet...
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Je hebt nergens $naam = naam; ofzo..
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Idd..
0
Oelbert

Lid · Topicstarter

Berichten
509
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ok slotje
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Ik laat hem open, handig voor mensen die het zelfde probleem hebben oid.

Is het nu opgelost dan?
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