View Single Post
  #6 (permalink)  
Old 08-05-07, 03:19 AM
ELV1I2's Avatar
ELV1I2 ELV1I2 is offline
Newbie Coder
 
Join Date: Jun 2007
Location: BA
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
X_X

I made it and script is working fine on my computer in local environment but problem is that php script is working fine if CSV file is inside virtual folder where scripts are! If I try to pick a one CSV file from different position on my local disk I got error that can't find file!? It seems to me that I must at first to upload CSV file into folder of web server on Web and then to read from it..? As I'm using free php & MySQL server on Web it's impossible and uncomfortable...
I thought that this thing is simple: pick a file, detect his name, read it, explode into fields and insert fields into table of DB
But it looks no more so simply. What now?
__________________
There are 3 kind of enemies: my enemies, enemies of my friends and friends of my enemies.
Reply With Quote