New to programming. I am using fopen, fwrite fead to read and add content to a flat txt file. I can check to see if file_exists no problem, but if file exists but its empty... not sure how to check for that. Was hoping to at least get pointed in the right direction. Thanks :)
fuston05
0
Junior Poster in Training
Recommended Answers
Jump to PostI think that you will need to read the file and see if you get anything.
All 3 Replies
chrishea
182
Nearly a Posting Virtuoso
james.newell
0
Light Poster
fuston05
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.