Forum Search:
phpHtmlLib
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » phpHtmlLib » Widgets » FEFile Question
FEFile Question Wed, 01 March 2006 13:10 Go to next message
mpwalsh8  is currently offline mpwalsh8
Messages: 137
Registered: February 2004
Location: Cary, North Carolina
Senior Member

From: nat-ncr.mentorg.com
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 Go to previous message
phphtmllib  is currently offline phphtmllib
Messages: 776
Registered: September 2002
Location: Cool, CA
Senior Member
Administrator

From: adsl-66-159-224-128.dslextreme.com
I haven't tested FEFile on windows. It works ok AFAIK in linux.
Previous Topic:Loosing where_clause in Results after Clicking Arrow
Next Topic:advanced Search in Datalist widget
Goto Forum:
  


Current Time: Sat May 18 07:15:26 PDT 2013

Total time taken to generate the page: 0.50246 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software