ik heb hier formuliertje dat niet werkt:
Je kunt gewoon alles invullen en zeggen versturen.
Maar krijg nooit bericht binnen.
Emailadres dat is ingevoerd klopt wel!
hij staat online op: http://www.dutchleaderloterij.t35.com/test.php
[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]submit[/COLOR][COLOR= #007700]])){[/COLOR]
[COLOR= #0000BB]$ontvanger[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"dutchleaderloterij@live.nl"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$onderwerp[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"Dutchleader Loterij Lot"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$verzender[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"From: "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"Er is/zijn lot(en) aangevraagd.
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #DD0000]"Naam:"[/COLOR] [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]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #DD0000]"E-mailadres:"[/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]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #DD0000]"Dutchleader Account:"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]dlacc[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #DD0000]"Aantal Loten:"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]aantal_loten[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #DD0000]"Het bericht:
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"
"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700].=[/COLOR][COLOR= #DD0000]"Einde van dit automatisch gegenereerde bericht."[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ontvanger[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$onderwerp[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$bericht[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$verzender[/COLOR][COLOR= #007700]);[/COLOR]
?>
Uw aanvraag is succesvol aangegeven!
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
?>
<html>
<head>
<title></title>
</head>
<body>
<form action="test.php" method="post">
<table>
<tr><td>Naam:</td><td><input type="text" name="naam"></td></tr>
<tr><td>E-mailadres:</td><td><input type="text" name="email"></td></tr>
<tr><td>Dutchleader Account:</td><td><input type="text" name="dlacc"></td></tr>
<tr><td>Aantal Loten:</td><td>
<select name="aantal_loten">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
</select>
</td></tr>
<tr><td>Bericht:</td><td><textarea rows="4" cols="20" name="bericht"></textarea></td></tr>
</table>
<input type="submit" value="Verstuur" name="submit">
<input type="Reset" name="Reset">
</form>
</body>
</html>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?> Je kunt gewoon alles invullen en zeggen versturen.
Maar krijg nooit bericht binnen.
Emailadres dat is ingevoerd klopt wel!
hij staat online op: http://www.dutchleaderloterij.t35.com/test.php


