http-fout 406 niet geaccepteerd
inhoud van dit script:
<<
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
include ("tekst_functies.php");
$testName = $_POST['testName'];
$testName = str_replace (" ", "", $testName);
$siteTitle = $_POST['siteTitle'];
txtCreate("../design", "siteTitle", "$siteTitle");
$headerImg = $_POST['headerImg'];
txtCreate("../design", "headerImg", "$headerImg");
$headerImg_landscape = $_POST['headerImg_landscape'];
txtCreate("../design", "headerImg_landscape", "$headerImg_landscape");
$appIcon = $_POST['appIcon'];
txtCreate("../design", "appIcon", "$appIcon");
$appScreen = $_POST['appScreen'];
txtCreate("../design", "appScreen", "$appScreen");
$navColor = $_POST['navColor'];
txtCreate("../design", "navColor", "$navColor");
$navStyle = $_POST['navStyle'];
txtCreate("../design", "navStyle", "$navStyle");
$footerColor = $_POST['footerColor'];
txtCreate("../design", "footerColor", "$footerColor");
$socialHeadline = $_POST['socialHeadline'];
txtCreate("../design", "socialHeadline", "$socialHeadline");
$socialBar = $_POST['socialBar'];
txtCreate("../design", "socialBar", "$socialBar");
$sPhoneCheck = $_POST['sPhoneCheck'];
txtCreate("../design", "sPhoneCheck", "$sPhoneCheck");
$sPhone = $_POST['sPhone'];
txtCreate("../design", "sPhone", "$sPhone");
$sEmailCheck = $_POST['sEmailCheck'];
txtCreate("../design", "sEmailCheck", "$sEmailCheck");
$sEmail = $_POST['sEmail'];
txtCreate("../design", "sEmail", "$sEmail");
$sFBCheck = $_POST['sFBCheck'];
txtCreate("../design", "sFBCheck", "$sFBCheck");
$sFB = $_POST['sFB'];
txtCreate("../design", "sFB", "$sFB");
$sTwitterCheck = $_POST['sTwitterCheck'];
txtCreate("../design", "sTwitterCheck", "$sTwitterCheck");
$sTwitter = $_POST['sTwitter'];
txtCreate("../design", "sTwitter", "$sTwitter");
$sMapCheck = $_POST['sMapCheck'];
txtCreate("../design", "sMapCheck", "$sMapCheck");
$sMap = $_POST['sMap'];
txtCreate("../design", "sMap", "$sMap");
$footerInfo = $_POST['footerInfo'];
txtCreate("../design", "footerInfo", "$footerInfo");
$viewSiteTEXT = $_POST['viewSiteTEXT'];
txtCreate("../design", "viewSiteTEXT", "$viewSiteTEXT");
$viewSiteURL = $_POST['viewSiteURL'];
txtCreate("../design", "viewSiteURL", "$viewSiteURL");
header('Location: ../design.php');
?>
include ("tekst_functies.php");
$testName = $_POST['testName'];
$testName = str_replace (" ", "", $testName);
$siteTitle = $_POST['siteTitle'];
txtCreate("../design", "siteTitle", "$siteTitle");
$headerImg = $_POST['headerImg'];
txtCreate("../design", "headerImg", "$headerImg");
$headerImg_landscape = $_POST['headerImg_landscape'];
txtCreate("../design", "headerImg_landscape", "$headerImg_landscape");
$appIcon = $_POST['appIcon'];
txtCreate("../design", "appIcon", "$appIcon");
$appScreen = $_POST['appScreen'];
txtCreate("../design", "appScreen", "$appScreen");
$navColor = $_POST['navColor'];
txtCreate("../design", "navColor", "$navColor");
$navStyle = $_POST['navStyle'];
txtCreate("../design", "navStyle", "$navStyle");
$footerColor = $_POST['footerColor'];
txtCreate("../design", "footerColor", "$footerColor");
$socialHeadline = $_POST['socialHeadline'];
txtCreate("../design", "socialHeadline", "$socialHeadline");
$socialBar = $_POST['socialBar'];
txtCreate("../design", "socialBar", "$socialBar");
$sPhoneCheck = $_POST['sPhoneCheck'];
txtCreate("../design", "sPhoneCheck", "$sPhoneCheck");
$sPhone = $_POST['sPhone'];
txtCreate("../design", "sPhone", "$sPhone");
$sEmailCheck = $_POST['sEmailCheck'];
txtCreate("../design", "sEmailCheck", "$sEmailCheck");
$sEmail = $_POST['sEmail'];
txtCreate("../design", "sEmail", "$sEmail");
$sFBCheck = $_POST['sFBCheck'];
txtCreate("../design", "sFBCheck", "$sFBCheck");
$sFB = $_POST['sFB'];
txtCreate("../design", "sFB", "$sFB");
$sTwitterCheck = $_POST['sTwitterCheck'];
txtCreate("../design", "sTwitterCheck", "$sTwitterCheck");
$sTwitter = $_POST['sTwitter'];
txtCreate("../design", "sTwitter", "$sTwitter");
$sMapCheck = $_POST['sMapCheck'];
txtCreate("../design", "sMapCheck", "$sMapCheck");
$sMap = $_POST['sMap'];
txtCreate("../design", "sMap", "$sMap");
$footerInfo = $_POST['footerInfo'];
txtCreate("../design", "footerInfo", "$footerInfo");
$viewSiteTEXT = $_POST['viewSiteTEXT'];
txtCreate("../design", "viewSiteTEXT", "$viewSiteTEXT");
$viewSiteURL = $_POST['viewSiteURL'];
txtCreate("../design", "viewSiteURL", "$viewSiteURL");
header('Location: ../design.php');
?>
kan iemand mij helpen waarom deze fout?
met dank
Pierre
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
http://en.wikipedia.org/wiki/HTTP_status_code
Het kan trouwens ook met firewall te maken hebben, maar als je op een (goede) hosting zit, zal je dit waarschijnlijk niet hebben. En kun je hier misschien niet eens iets aan veranderen.
Toevoeging op 04/06/2014 21:14:09:
Probeer eens simpele output te geven, zoals een simpel stukje tekst. Misschien wordt er wel onbedoeld een bepaald soort output gegeven.
Gewijzigd op 04/06/2014 20:36:08 door Mark Hogeveen
Thx. Zal eens uitproberen.