Skip navigation.

Contridentuallity

Not a fact, a theory!?

Posts tagged with "article upload script"

Upload & Extract ZIP File

, ,

I always enjoy working on interesting and stimulating projects rather than large projects, since they keep my mind busy, usually pay well and is different from the usual development procedure.

I have a client who has a huge bunch of articles on his local computer which is being created on a regular basis. He wanted to somehow get these articles into his database in order to display on his site without having to process each and every article individually.

So I came to the conclusion that I need to make a simple, yet user-friend interface to allow my client to upload a single '.zip' file containing all the articles and let the script do the rest.

Anyhow...it was just a nice little script to code, since the '.zip' file had to be uploaded, extracted and then each file had to be read, stripped and assigned to variables for insertion into the database.

It turned out a success, and I learned a few things in the process as well. Don't ya just love learning? :wink:
Download Opera, the fastest and most secure browser
December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31