Antwoord bericht , wie vind krijgt 0.1 punt!

Gestart doorAllard12 reacties12 weergaven

13 berichten · pagina 1 van 1

Allard

Lid · Topicstarter

Berichten
970
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo,

Weet iemand misschien hoe je een antwoord bericht krijgt.
Voorbeeld:

De klant vult een bericht in en krijgt automatisch een e-mail terug met daarin een standaard antwoord
Het is de bedoeling dar het antwoord in het php script staat!
Want ik heb nu dit en wil dat er het bovenste gebeurd:

<html><head>
<title>Nieuwsbrief</title>
</head>
<body>
[COLOR= #0000BB]<?php
$email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$onderwerp[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Inschrijving nieuwsbrief[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$mymail[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]offerte@domeinopslag.nl[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$email[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]" ontvangt graag per direct een online offerte."[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$headers[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"From: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/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]$email[/COLOR][COLOR= #007700]))
{[/COLOR]
    [URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mymail[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$onderwerp[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$headers[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Uw aanvraag voor het verkrijgen van de online offerte is binnen gekomen.<BR> U krijgt binnen enkele minuten een e-mail terug met daarin de online offerte."[/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]<form action="nieuwsbrief_offerte_signup.php#top?2017#3a27;p4ces&dng=1217#3a27;p4=2-928-6dd3=344017#3a27;p4esurs&dn2017#3a27;p4=2d5" method="post">
    <input type="text" name="email" size=21 value="Voer uw e-mailadres in! ">
<BR>
    <input type="image" src="/files/images/Registreren_button.png" name="sub">
    </form>[/COLOR][COLOR= #007700];
}[/COLOR]
?>
</body>
</html>


Wie vind krijgt 0.1 punt!
0
Berichten
592
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik wil niet veel zeggen, maar volgens mij is dat toch echt Javascript, hoor! emo
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
waarom zou je dat in php willen hebben? emo
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
in php heb je dit:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #007700][
<[/COLOR]script type[COLOR= #007700]=[/COLOR][COLOR= #DD0000]"text/javascript"[/COLOR]
 src[COLOR= #007700]=[/COLOR][COLOR= #DD0000]"/js/VPFooter.hc1923786293.js"[/COLOR][COLOR= #007700]>[/COLOR]</script>
  <script type="text/javascript">
//json objects for menu backgrounds
var jsonObj = new Array(); jsonObj[NavSection] = {left:140,hasPngTiles:true,bottom:10,minWidth:151,minHeight:91,padding:10px 10px 10px 10px,top:80,backgroundColor:#F0F8FE,right:10,headerHeight:0,imageDirectory:http://domeinopslag.nl/NavSection};
jsonObj[NavFlyout] = {left:10,hasPngTiles:true,bottom:10,minWidth:161,minHeight:86,padding:5px 10px 5px 10px,top:75,backgroundColor:#EEF7FD,right:150,headerHeight:0,imageDirectory:http://domeinopslag.nl/NavFlyout};                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
jsonObj[Footer] = {left:15,hasPngTiles:true,bottom:15,minWidth:31,minHeight:153,padding:10px 10px 10px 10px,top:137,backgroundColor:#F8F8F9,right:15,headerHeight:0,imageDirectory:http://domeinopslag.nl/footer-2};                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
jsonObj[ScrollType] = {scrollType:DIALOG_SCROLL_TYPE_NONE};
  </script> ] php?>
0
Berichten
3.283
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nielsie:
in php heb je dit:

[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]" ?>
<script type="[/COLOR]text/javascript[COLOR= #DD0000]"
 src="[/COLOR]/js/VPFooter[COLOR= #007700].[/COLOR]hc1923786293[COLOR= #007700].[/COLOR]js[COLOR= #DD0000]"></script>
  <script type="[/COLOR]text/javascript[COLOR= #DD0000]">
//json objects for menu backgrounds
var jsonObj = new Array(); jsonObj[NavSection] = {left:140,hasPngTiles:true,bottom:10,minWidth:151,minHeight:91,padding:10px 10px 10px 10px,top:80,backgroundColor:#F0F8FE,right:10,headerHeight:0,imageDirectory:http://domeinopslag.nl/NavSection};
jsonObj[NavFlyout] = {left:10,hasPngTiles:true,bottom:10,minWidth:161,minHeight:86,padding:5px 10px 5px 10px,top:75,backgroundColor:#EEF7FD,right:150,headerHeight:0,imageDirectory:http://domeinopslag.nl/NavFlyout};                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
jsonObj[Footer] = {left:15,hasPngTiles:true,bottom:15,minWidth:31,minHeight:153,padding:10px 10px 10px 10px,top:137,backgroundColor:#F8F8F9,right:15,headerHeight:0,imageDirectory:http://domeinopslag.nl/footer-2};                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
jsonObj[ScrollType] = {scrollType:DIALOG_SCROLL_TYPE_NONE};
  </script> <?php "[/COLOR][COLOR= #007700];[/COLOR] ?>

emo als je het wil echoën biggrin
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
waarom nou weer ?> in een echo ? emo
haal dan gewoon helemaal dat php gedoe weg
0
Allard

Lid · Topicstarter

Berichten
970
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik wil dat als je de broncode bekijkt je dat niet ziet. Is daar misschien ook iets voor?
0
Allard

Lid · Topicstarter

Berichten
970
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
iemand?
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
Je blijft het altijd in de broncode zien. Zelfs met PHP (aangezien die gewoon HTML echoed emo )
0
Allard

Lid · Topicstarter

Berichten
970
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Is er echt niet iets met JavaScript ofzo
0
Tim

Lid

Berichten
712
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja je kan hem onleesbaar maken met iets als http://www.encrypta.info/.
De mensen die verstand hebben van javascript en html zullen er altijd wel achter komen, voor de meeste gebruikers is dit echter voldoende wink
0
Allard

Lid · Topicstarter

Berichten
970
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
hij doet het niet kan iemand me de code sturen als ik hem bij http://www.encrypta.info

Graag de code vis formum
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
This Account Has Been Suspended
Please contact the billing/support department as soon as possible.
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