Browse to file then fopen
Posted: Thu Jul 21, 2005 9:08 pm
I load a csv into a mysql db and use a properties file to store the file name. The problem is that if the file is somewhere else, like my thumb drive rather than my harddrive, I have to edit the properties file before running my program.
I'd like to be able to start my php program, browse to the file, select it to capture the file name and then do fopen on that selected file and continue with my code. I've looked for file browsing scripts and code but I don't know of any that allow me to select a file and use that file name in my code. Any ideas or leads would be appreciated.
Thanks,
I'd like to be able to start my php program, browse to the file, select it to capture the file name and then do fopen on that selected file and continue with my code. I've looked for file browsing scripts and code but I don't know of any that allow me to select a file and use that file name in my code. Any ideas or leads would be appreciated.
Thanks,