PDA

View Full Version : CSV file



srossouw
21-Mar-2006, 09:57 AM
hi, I had prob with path name for csv Directory but i got it to work now, the path was not right. i used the path specified by running the "testalert=1". it returned:DOCUMENT_ROOT: /home/httpd/vhosts/xxxxthing.com/httpdocs

so i used $CSVDIR = "/home/httpd/vhosts/xxxxthing.com/httpdocs/myCsvDir";
hope this helps somebody :)

But i must say to Russel THANK YOU this was exactly what i wanted my data to do. (save to file) question is will the CSV file handle 1000 entries per month?? and at the same time entries? must i rather investigate a database like mySql solution or will .csv be fine?
thanks again for the great work u do! :D

jjcook
21-Mar-2006, 12:42 PM
Hi srossouw,

Glad you got sorted, but i appear to have a similr problem and wonder if you could help.

The following error occurred in FormMail :
Failed to open CSV file
"http://mysite.com/csvdir/formdata.csv": failed to open
stream: HTTP wrapper does not support writeable connections.

Would this be a host site permissions problem, i have followed the guide and my directory is rwxr-xr-x and the csv file is rw-rw-rw-.

Thanks

srossouw
21-Mar-2006, 12:53 PM
hi, sorry i really havent encoutered that one.
my guess "stream: HTTP wrapper does not support writeable connections." could be a host prob, but like i said i really dont know.
sorry i could not help you :o
hopefully someone else here will know!