943,771 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 16209
  • PHP RSS
Aug 24th, 2004
0

Save a text file in an csv.file with ascii?

Expand Post »
Thank You for taking your time to read this.

Well, the subject kind of tells it all. I have built an webshop, but would like the order to be place in an text file insted of mysql. This text file has to be in an csv format in order to get parsed by an onther application, and it also has to be in ASCII format.

So is't anyone how has any code ex fot his?

Br
Mattias from Sweden
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nyqvist is offline Offline
2 posts
since Aug 2004
Aug 24th, 2004
0

Re: Save a text file in an csv.file with ascii?

Well CSV just means that you separate things using commas; but it'll be real hard to be able to read off data from certain rows and manipulate the data in the CSV.

Adding data is not a problem, but reading data from the CSV will be much harder I believe.

What I would suggest is to use MySQL, then use phpMyAdmin to output the table(s) in CSV format
Team Colleague
Reputation Points: 53
Solved Threads: 5
PHP/vBulletin Guru
Gary King is offline Offline
360 posts
since Nov 2003
Aug 28th, 2004
0

Re: Save a text file in an csv.file with ascii?

I agree with Gary. In all honesty, any time you're dealing with money, you want something secure. A text file is not secure. It's not fast. It's not cached. Can be corrupted easily. Has no relational support. May I ask why you're not going with a database server?
Team Colleague
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
samaru is offline Offline
1,227 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Where I have to put my...
Next Thread in PHP Forum Timeline: Invalid Email Characters?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC