[PHP] loading data into mysql from txt file from php

2001-07-03 Thread Clif Wieden
I have a project where the admin uploads a new data file and it needs to be loaded into a mysql database. What's the best way to do this? The data file is tab-delimted but could be reformatted. Right now the file is uploaded and after copy($new_file, $file_loc) would like to refresh the db.

[PHP] cgi execution w/php failing

2001-02-11 Thread Clif Wieden
Hi, I've read through the archives and still must be missing something. I need to execute a cgi script from php. This seems fairly trivial, but I can't get it to work. the cgi script is clean -- executes from the command line without issue and is 755 from php the follwing is used: