[TYPO3-dev] POST the path from a <input type="file">?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Dec 4 09:38:05 CET 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> Matthias Stuebner wrote:
> 
>> Beside that, I just want to send the text from the input field, selected
>> using the file dialog, I do NOT want to transmit any file!
> 
> This is not possible by specification.

I think you can get the path or at least the file name via javascript and 
post it in a hidden field. You'll have to find a way to clear the upload 
field before submitting.

But what's the point of this? Why do you need on the server side tha path 
of a client side file?

Mai





More information about the TYPO3-dev mailing list