PHP CSV upload files

Posted by Anand on Stack Overflow See other posts from Stack Overflow or by Anand
Published on 2010-03-17T09:34:26Z Indexed on 2010/05/01 1:17 UTC
Read the original article Hit count: 357

Filed under:
|
|
|

hi,

I have asked a question regarding updating a csv file's contents to the db @Question

Now I want to add this functionality, like my db will contain url to images that are stored on a prespecified folder on the server.

The csv files will contain the urls as to where these images reside on the client side. Now when I click an upload the following should happen

  1. My file must read the location of image on the client side
  2. Must copy the image from the client to the server's prespecified folder
  3. update the corresponding field in the db table with the url of the image

© Stack Overflow or respective owner

Related posts about php

Related posts about csv