did that and now I get
Parse error: parse error, unexpected $ in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 394
PHP mailform
Moderator: General Moderators
Hi Mac!
Now I have figuered out why I was getting these errors, becuse I replaced the state with the country in my js script. I went ahead an replaced all the values in php form from this b_state to this b_country
No I have no errors, but this:
Warning: fopen("orders.csv", "a") - Permission denied in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 174
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 81
Unable to open CSV file for writing. Your order has not been saved.
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 85
The settings in my php form are as follows:
$header = "header.html";
$footer = "footer.html";
$returnpage = "main.htm";
$youremail = "spam@nopdesign.com";
$csvfilename = "orders.csv";
$csvquote = "\"\"";
$mode = "BOTH";
What am I doing wrong???
I have set up a work site for you to have a look at the problem I am geting.... any help would be much appreciated!!!
http://ski.voices-of-europe.de/books.htm
Now I have figuered out why I was getting these errors, becuse I replaced the state with the country in my js script. I went ahead an replaced all the values in php form from this b_state to this b_country
No I have no errors, but this:
Warning: fopen("orders.csv", "a") - Permission denied in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 174
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 81
Unable to open CSV file for writing. Your order has not been saved.
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 85
The settings in my php form are as follows:
$header = "header.html";
$footer = "footer.html";
$returnpage = "main.htm";
$youremail = "spam@nopdesign.com";
$csvfilename = "orders.csv";
$csvquote = "\"\"";
$mode = "BOTH";
What am I doing wrong???
I have set up a work site for you to have a look at the problem I am geting.... any help would be much appreciated!!!
http://ski.voices-of-europe.de/books.htm
Hi Mac
Sorry to trouble you, but I am really stacked!
After finally getting all the problems sorted out with the php mailform etc. I am now getting errors that the "orders.csv" file cannot be opened?!
I tried various modes for the CHMOD'ing ie: 644, 755 etc but I cannot still figure out where the proble might be...???
Do you think you could help? Thanks!
http://ski.voices-of-europe.de/books.htm
I get the following echo after completing the mail form:
Warning: fopen("orders.csv", "a") - Permission denied in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 174
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 81
Unable to open CSV file for writing. Your order has not been saved.
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 85
Sorry to trouble you, but I am really stacked!
After finally getting all the problems sorted out with the php mailform etc. I am now getting errors that the "orders.csv" file cannot be opened?!
I tried various modes for the CHMOD'ing ie: 644, 755 etc but I cannot still figure out where the proble might be...???
Do you think you could help? Thanks!
http://ski.voices-of-europe.de/books.htm
I get the following echo after completing the mail form:
Warning: fopen("orders.csv", "a") - Permission denied in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 174
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 81
Unable to open CSV file for writing. Your order has not been saved.
Warning: Failed opening '' for inclusion (include_path='.:/usr/share/php/PEAR:/usr/local/php') in /home/www/voices-of-europe.de/subs/ski/htdocs/checkout.php on line 85