[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - file uploaden in een bestelformulier
Pagina 1 van 5

file uploaden in een bestelformulier

BerichtGeplaatst: 23 aug 2007 20:49
door Anonymous

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 24 aug 2007 07:06
door frizzy
Ik heb niet veel tijd, maar voor u en de rest die u verder gaat helpen heb ik een begin:
http://phpfreakz.nl/library.php?sid=12121

http://phpfreakz.nl/library.php?sid=14684

In plaats van het websysteem voor het bestelformulier kan je ook zelf iets simpels maken

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 24 aug 2007 10:46
door Moonstrike
Het zou ook handig zijn als je het html form geeft ;)

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 24 aug 2007 11:29
door libia
*pakt z'n glazen bol* ow wacht die heb ik niet! :D

oftewel.. het zou handig zijn als je die foutmelding geeft als je verteld waar je dat stukje erin hebt geplakt en als je het formulier geeft ;)

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 24 aug 2007 13:18
door Anonymous
hou je vast....de html file is ongelofelijk lang. Ik kan me voorstellen dat je afhaakt (please don't)

Het formulier wordt gewoon verzonden....maar zonder bestandje erbij (klopt natuurlijk want in de php staat niet wat hij daarmee moet doen, toch?)....daarvoor in de plaats geeft hij een vermelding van de bestandlocatie.

de code heb ik gewoon tussen de php tags voor een al bestaand commentaar gelplakt. Niet echt creatief.....maar ik dacht proberen kan geen kwaat.

Komt tie!

[code<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>Bestellen</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="expires" content="0" />
<meta name="author" content="" />
<meta name="description" content="" />
<meta name="keywords" lang="" content="" />
<meta name="generator" content="Web2Date BASIC" />
<link rel="stylesheet" type="text/css" href="./assets/sf.css" />
<link rel="stylesheet" type="text/css" href="./assets/sd.css" />
<link rel="stylesheet" type="text/css" href="./assets/sc.css" />
</head>

<body>

<table cellpadding="0" cellspacing="0" border="0" align="center">

<tr>
<td><div id="topl">
</div>
</td>
<td><div id="topc"></div></td>
<td><div id="topr"></div></td>
</tr>

<tr>
<td colspan="2">
<div id="midl">
<h1>kiddy-gifts</h1>
<h2>Bestellen</h2>
</div>
</td>
<td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="250" id="tech" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="bank.swf" />
<param name="quality" value="high" />
<embed src="bank.swf" quality="high" width="550" height="250" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></td>
</tr>

<tr>
<td colspan="3"><div id="common"><a href="./index.html">Startpagina</a><a href="./bestellen.html">Bestellen</a><a href="./kiddygiftsnews.html">Kiddy-gifts news!</a></div></td>
</tr>

<tr>
<td id="tdsidebar">
<div id="sidebar">


<a href="./hetkado/taarten/index.html#03318d99750ee2853"><img src="./images/tm63012020roze20of20blauw_sbp.jpg" width="160" height="120" alt="" border="0"></a>



<br/>

<a href="./hetkado/taarten/index.html#03318d99750ee6f55"><img src="./images/tm905220_sbp.jpg" width="160" height="120" alt="" border="0"></a>



<br/>

<a href="./hetkado/taarten/index.html#03318d99750ecc24f"><img src="./images/tm3427_sbp.jpg" width="160" height="119" alt="" border="0"></a>



<br/>

<a href="./hetkado/taarten/index.html#03318d99750eac041"><img src="./images/tb1800020_sbp.jpg" width="160" height="119" alt="" border="0"></a>



<br/>

<a href="./hetkado/taarten/index.html#03318d99750eb1943"><img src="./images/tc2674_sbp.jpg" width="160" height="119" alt="" border="0"></a>



<br/>

<a href="./hetkado/taarten/index.html#03318d99750ebae48"><img src="./images/tm468100_sbp.jpg" width="160" height="119" alt="" border="0"></a>



<br/>

<a href="./hetkado/taarten/index.html#03318d99750ec004a"><img src="./images/tm562_sbp.jpg" width="160" height="119" alt="" border="0"></a>



<br/>
</div>
</td>
<td id="tdnav">
<div id="nav">

<a class="maintopic" href="./hetkado/index.html">Het kado!</a>
<a class="topic" href="./hetkado/2dbabyecho/index.html">2D baby echo</a>
<a class="topic" href="./hetkado/taarten/index.html">Taarten</a>
<a class="topic" href="./hetkado/geboortesuikers/index.html">Geboortesuikers</a>
<a class="maintopic" href="./informatie/index.html">Informatie</a>
<a class="maintopic" href="./contact/index.html">Contact</a>
</div>
</td>
<td id="tdcontent">
<div id="content"><form class="formular" name="sendform" onsubmit="return check()" enctype="application/x-www-form-urlencoded">

<input type="hidden" name="fgwemail" value="info@kiddy-gifts.nl">

<input type="hidden" name="fgwsubject" value="Bestelling">

<input type="hidden" name="fgwreturnurl" value="./bevestiging.html">

<div class="formcaption">
<strong>Voornaam</strong> </div>
<input class="box" size="30" type="text" name="voornaam" value=""><br />

<div class="formcaption">
Tussenvoegsel </div>
<input class="box" size="30" type="text" name="tussenvoegsel" value=""><br />

<div class="formcaption">
<strong>Achternaam</strong> </div>
<input class="box" size="30" type="text" name="achternaam" value=""><br />

<div class="formcaption">
<strong>Adres</strong> </div>
<input class="box" size="30" type="text" name="adres" value=""><br />

<div class="formcaption">
<strong>Postcode / woonplaats</strong> </div>
<input class="box" size="30" type="text" name="postcodewoonplaats" value=""><br />

<div class="formcaption">
<strong>Telefoon</strong> </div>
<input class="box" size="30" type="text" name="telefoon" value=""><br />

<div class="formcaption">
<strong>E-Mail</strong> </div>
<input class="box" size="30" type="text" name="email" value=""><br />

<div class="formcaption">&nbsp;</div>
<p><input type="checkbox" name="factuuradresidemalshierboven" value="ja" >&nbsp;<span class="buttoncaption">Factuuradres idem als hierboven</span></p>

<div class="formcaption">
Anders: </div>
<textarea class="formtextarea" name="anders"></textarea><br>

<div class="formcaption">&nbsp;
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<p><input type="checkbox" name="ikhebkennisgenomenvandeprivacyverklaringdevoorwaardenendebetalingsmethode" value="ja" >&nbsp;<span class="buttoncaption">Ik heb kennis genomen van de <a href="http://www.schloss-moehren.com/kiddy/informatie/index.html" target="_blank">privacy-verklaring, de voorwaarden en de betalingsmethode</a></span></p>

<div class="formcaption">
<p><strong>
2D BABY ECHO </strong></p>
</div><p>&nbsp;</p>
<br />
<div class="formcaption">&nbsp;</div>
<p>&nbsp;2D kunst kleur:&nbsp;
<select name="2d baby echo kleur">
<option value="geen"> </option>
<option value="blauw">blauw</option>
<option value="roze">roze</option>
<option value="contrast">contrast</option>
<option value="geel">geel</option>
<option value="groen">groen</option>
<option value="rood">rood</option>
<option value="zwart/wit">zwart/wit</option>
</select>
</p>
<div class="formcaption">&nbsp;</div>
<p>&nbsp;2D kunst formaat:&nbsp;
<select name="2d baby echo formaat">
<option value="geen"> </option>
<option value="large">Large 75 x 55 cm / &euro; 72,00</option>
<option value="small">Small 40 x 30 cm / &euro; 35,25</option>
</select>
</p>
<div class="formcaption">&nbsp;</div>
<p>&nbsp;Aantal:&nbsp;
<select name="2d baby echo aantal">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</p>
<div class="formcaption">&nbsp;</div>
<p>
<label for="file">&nbsp;Filename:</label>
<input type="file" name="file" id="file" value="Zoek"/>
<br />
</p>
<div class="formcaption">
<p><strong>GEBOORTETAART &amp; BEDANKTAART </strong></p>
</div>
<p>&nbsp;</p>

<div class="formcaption">&nbsp;</div>
<p>&nbsp;taart:&nbsp;
<select name="taart">
<option value="geen"> </option>
<option value="TB18000-20">Taart 1 (Model TB18000-20) &euro; 33,75</option>
<option value="TC1372">Taart 2 (Model TC1372) &euro; 38,85</option>
<option value="TC2674">Taart 3 (Model TC2674) &euro; 41,55</option>
<option value="TF41">Taart 4 (Model TF41) &euro; 31,30</option>
<option value="TM063">Taart 5 (Model TM063) &euro; 33,55</option>
<option value="TM146-2">Taart 6 (Model TM146-2) &euro; 37,60</option>
<option value="TM468">Taart 7 (Model TM468) &euro; 39,20</option>
<option value="TM468-100">Taart 8 (Model TM468-100) &euro; 98,90</option>
<option value="TM484">Taart 9 (Model TM484) &euro; 38,25</option>
<option value="TM562">Taart 10 (Model TM562) &euro; 41,25</option>
<option value="TM2186">Taart 11 (Model TM2186) &euro; 35,20</option>
<option value="TM3242">Taart 12 (Model TM3242) &euro; 38,40</option>
<option value="TM3314">Taart 13 (Model TM3314) &euro; 38,25</option>
<option value="TM3419-20">Taart 14 (Model TM3419-20) &euro; 39,60</option>
<option value="TM3427-20">Taart 15 (Model TM3427-20) &euro; 35,95</option>
<option value="TM4874-2">Taart 16 (Model TM4874-24) &euro; 34,30</option>
<option value="TM5064-24">Taart 17 (Model TM5064-24) &euro; 40,15</option>
<option value="TM5653">Taart 18 (Model TM5653) &euro; 40,20</option>
<option value="TM6301-20">Taart 19 (Model TM6301-20) &euro; 46,25</option>
<option value="TM7007">Taart 20 (Model TM7007) &euro; 51,75</option>
<option value="TM9052-20">Taart 21 (Model TM9052-20) &euro; 35,10</option>
<option value="TM40640-20">Taart 22 (Model TM40640-20) &euro; 33,25</option>
<option value="TMDR5064">Taart 23 (Model TMDR5064) &euro; 34,20</option>
<option value="TMFB89">Taart 24 (Model TMFB89 &euro; 30,15</option>
</select>
</p>

<div class="formcaption">&nbsp;</div>
<p>&nbsp;Aantal:&nbsp;
<select name="taart aantal">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</p>
<div class="formcaption">
<p><strong>
GEBOORTESUIKERS</strong></p>
</div>
<p>&nbsp;</p>

<div class="formcaption">&nbsp;</div>
<p>&nbsp;Kleur:&nbsp;
<select name="kleur geboortesuikers">
<option value="geen"> </option>
<option value="roze">roze</option>
<option value="blauw">blauw</option>
<option value="rood">rood</option>
<option value="donkerblauw">donker blauw</option>
<option value="paars">paars</option>
<option value="geel">geel</option>
<option value="groen">groen</option>
</select>
</p>
<div class="formcaption">&nbsp;</div>
<p>&nbsp;Aantal:&nbsp;
<select name="aantal geboortesuikers">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</p>
<div class="formcaption">&nbsp;</div>
<p>&nbsp;</p>
<p>
<input name="image" type="image" src="./images/w2dsbmt.gif" usemap="0" border="0" />
<br />
</p>
</form>
</div></td>
</tr>

<tr>
<td><div id="bottoml"></div></td>
<td><div id="bottomc"></div></td>
<td><div id="bottomr"></div></td>
</tr>

</table>

</body>
</html>[/code]

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 24 aug 2007 13:56
door libia

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 09:54
door Anonymous
super super super.....ik ga dit proberen. Ik hou je op de hoogte. Bedankt tot zo ver.

groeten Samm

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 13:35
door libia

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 14:17
door frizzy

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 14:30
door libia

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 15:13
door Anonymous
oke......het formulier ziet erin.....ik mis alleen de verzendknop.....hou zet ik die erin?

Ik kijk uit naar de headers.

groeten Samm

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 15:16
door libia

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 15:51
door Anonymous
:o

Hij geeft aan verkeerd verzonden.

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 15:58
door libia
als het goed is, heb je een aantal inputs en een textarea, al deze dingen moet je een name geven (allemaal een unieke) en dan in de if(..) elke keer isset($_POST['naam'], $_POST['tweedeNaam']) enz. doen (dus in die isset de heletijd de $_POST[''] en dan de name van het veld)
en je hebt een veld genaamt file die moet dan weer $_FILES['naam']

ik hoop dat ik duidelijk genoeg ben :P

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 16:26
door frizzy
<input type="submit" value="Verzend" />
moet zijn:
<input type="submit" method="post" value="Verzend" />
Hij pakt automatish de method "get". Maar die is niet goed,

Frizzy

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 16:48
door Derk
<input type="submit" value="Verzend" />
moet zijn:
<input type="submit" enctype="multipart/form-data" method="post" value="Verzend" />
Anders kan je geen data verzenden.

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 17:12
door frizzy
Zat zelfs ik er naast ;)

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 18:39
door libia
uhm.. de method en de enctype moet je in de form tag stoppen niet in de submit button :?:

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 18:45
door Anonymous

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 18:54
door libia
d'r staat twee keer echo 'verkeerd verzonden';
maar van die laatste is echo 'verkeerd verzonden 2'; dan weten we waar het fout gaat :)

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 18:55
door frizzy

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 19:16
door Anonymous
hij geeft nu Verkeerd verzonden2

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 19:23
door libia
hmm.. dan snap ik niet wat er fout gaat..
wat ik wel zie is dat je op lijn 4 $_FILES['file'] moet veranderen in $_FILES['file2'] ;)

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 19:32
door Anonymous

Re: file uploaden in een bestelformulier

BerichtGeplaatst: 25 aug 2007 19:34
door libia