I have a script that I am trying to build a Web GUI front end to interface with the script.
Essentially the script takes a CSV file as input processes it and spits out several new files based on the lines frm the CSV.
My initial approach was to upload the file and then process it. This is where I am stuck. When I go to upload the file the script creates an empty file with the correct name. I used the tutorial here:
http://www.perlfect.com/articles/upload.shtmland this one here just returns a 500 error
http://articles.sitepoint.com/article/uploading-files-cgi-perlThis leads me to my first question, is it better to upload the file then process it, or is it possible to open it on the client computer and process it server side? Since I am going to delete the CSV from the server at the end of the script anyway does it actually make sense to upload it, processit, then delete it?
Finally, I am able to get the file uploaded using php, is there a way to redirect to my perl script? The problem I run into here is I don't have a way to pass the newly uploaded filename to the script.
Any thoughts/suggestions/hints are greatly appreciated.
In reply to Local File vs Uploaded File by PyrexKidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |