/    Sign up×
Community /Pin to ProfileBookmark

Can I parse an excel file without bringing it onto the server?

I have an excel file which I want to parse. This is what I am trying to do.

I go to my website and upload the file. Once the file is uploaded to the server, I will run a function on the file which parses the file and stores the data into the database. Sounds like normal procedure right?

my question is this…As of right now, the file has to be uploaded to the server before it can be parsed. Is there a way where I can just parse the file without having to physically upload it onto the server? I don’t want to keep the file on the server.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@ratcatemeOct 03.2008 — you could just use the filename in $_FILES['uploaded_file']['tmp_name'] and do all your stuff with that then when the script ends that file is automatically deleted

Scott.
×

Success!

Help @YourChild spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...