On Thu, 2008-01-10 at 08:49 -0800, sevenseeker wrote:
> Hello,
> I have a form with a file type input that when submitted only contains
> the filename.  How can I ensure the full path is submitted to the
> script?
> 
> Within the rendered page I can print out the full path name so the
> value is there before submitting.

You can't with just html with form.

See:
http://www.faqs.org/rfcs/rfc1867.html

The browser sends just the "basename" of the path, not the full one. 

You need to collect this information in a different way, maybe using
some js.

Bye,

C.

-- 
Christopher R. Gabriel                          Truelite Srl
[EMAIL PROTECTED] (email/jabber)             Via Monferrato, 6
http://www.truelite.it/                         50142 Firenze
Office. +39-055-7879597 ext. 102                Fax. +39-055-7333336


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to