Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7778465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:24:15+00:00 2026-06-01T18:24:15+00:00

I have some csv files being uploaded to my server hourly. I need to

  • 0

I have some csv files being uploaded to my server hourly. I need to take those, and create other files from them. For example.

test.csv has 3 columns worth of data. I want to remove the second column completely, then save the remaining 2 columns as their own file. text_changed.csv

Developing on a linux server, but transfering the site to a windows machine.

Not sure how much the server OS matters here. I know PHP more than any other coding language, but am not a pro.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:24:16+00:00Added an answer on June 1, 2026 at 6:24 pm

    A CSV file is just an ordinary text file that follows certain conventions. The primary conventions are:

    • Commas are used to separate columns.
    • If there is a comma in the text of a column (e.g. Acme, Inc.), then the text for that column must be surrounded by quotes.

    There are a few more rules that you need to fully understand if you were to parse CSV files yourself.

    Fortunately, PHP provides some built-in support for reading and working with CSV files. Have a look at:

    http://php.net/manual/en/function.fgetcsv.php

    http://php.net/manual/en/function.fputcsv.php

    You may also want to have a look at the following project:

    http://code.google.com/p/php-csv-utils/

    Work through the documentation, then post more specific questions here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some .csv files which I'm using as part of a test bench.
I have some CSV data files that I want to import into mySQL. I
I am trying to create a csv file of some data. I have wrote
I have an SSIS package that transfers some tables to CSV files on a
I have created a task in Symfony 1.4 that loads in some CSV files
I am processing some CSV file which i have copied in Bin folder of
I have some UIViews that have different centers and transforms applied to them. I
I have a csv file being read into python, I then save the reader
I have a stack of CSV files I want to parse - the problem
I have a function that updates a MySQL table from a CSV file. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.