| FEFile Question |
Wed, 01 March 2006 13:10  |
|
I have an application which allows the user the upload contact information using vCards. Depending on what the user is doing, a subset of the information on the vCard is used.
There are several scenarios where the user might upload the same vCard two times in a row but for different purposes. I'd like to retain the pathname to the file on the user's machine as the initial value of the form the next time it is displayed.
However, it doesn't appear that $_FILES or the FEFile $get_file_info() method return the whole path, just the leaf of the filename.
If I navigate to a file, I end up with something like "C:\SamplevCard.vcf" in the Form but when the form is actually processed and I examine the File Info, the "name" field is "SamplevCard.vcf". Is there anyway to retain the full path so I can use it later as an form_element_init() value?
Thanks,
Mike
Mike Walsh - mike_walsh at mindspring dot com
|
|
|
| Re: FEFile Question |
Tue, 11 April 2006 21:58  |
|
|
I haven't tested FEFile on windows. It works ok AFAIK in linux.
|
|
|