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

  • SEARCH
  • Home
  • 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 8234631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:32:52+00:00 2026-06-07T18:32:52+00:00

I would like to convert a text file to excel and then modify certain

  • 0

I would like to convert a text file to excel and then modify certain data inside the excel file and then import this new excel file to a database.

The contents of the excel file, for example, will be products and their prices and the modification will be on the prices. So the update of the products in the database and on the website will be automatic. I am planning to use OSCommerce

My question is this: Is there any tool for OSCommerce that I will configure it to do this job for me as I need to do this automatically every 8 hours for example? I need to write a script from scratch using PHP?

  • 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-07T18:32:54+00:00Added an answer on June 7, 2026 at 6:32 pm

    If you save the excel file in a simple csv (comma separated value) format than you could easily split it by the commas and organize your data using PHP.

    You would use the following code to read the data from the file:

    $file_name = "test.csv"; // This needs to be relative to the current location that this script is being executed in 
    $fp = fopen($file_name, "r"); // "r" means read, change to "rw" or "w" for read/write and write as needed
    $data = fread($fp, filesize($file_name)); // Read the contents of the file into a string
    fclose($fp); // Close the file for efficiency
    $data = explode(',', $data); // Override data with the array format
    

    This is just a basic script, and would need to be manipulated by yourself to work for your needs. God luck 🙂

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

Sidebar

Related Questions

I would like to convert a text file containing words, space separate to a
I have a fairly large text file that I would like to convert into
I would like to convert specific ascii file to csv. This ascii file has
I have a text file full of stopwords. I would like to represent this
I would like convert the below text into a nested array, something like you
I would like to convert this piece of logic with purely matrix operations instead
I would like to convert a yyyy-mm-dd to something like this: Saturday, 2 October
I would like to convert an xml to a text with java. Until now
I have a plain text file that looks like this - 234234 some text
I would like to generate a text file containing all 19,683 Tic-Tac-Toe board layouts

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.