I have installed php script on my server and att works fine as far as sending the form contents to my email. I also want it to update to a csv file so that I have a database that can be used elsewhere.

I am using tectite formmail and they say that in the php file I need to have the following: $CSVDIR = "/home/your-site/csvdir";

I have tried all the possibilities I can think of as to what I should put here but nothing works. The website is at www.denvor.bartwebsites.com

I have tried:

I get an error email with the following comment: Failed to open CSV file "/hsphere/local/home/romuba/denvor.bartwebsites.com/csv_files/formdata.csv": failed to open stream: Permission denied