Re: Location of original file uploaded via html form



kenoli wrote:
On Apr 26, 11:20 am, "J.O. Aho" <u...@xxxxxxxxxxx> wrote:
kenoli wrote:
The global $_FILES provides the name of a file submitted in an html
form on the client machine. Is there any way to derive the path to
that file on the client machine?
Not in plain PHP, but you could add a hidden input field, into which you
save the path set in the file-input field with help of javascript and
hope that the users using your form will have the javascript enabled.

--

//Aho

Great that's helpful.

--Kenoli


Sorry, javascript can't do it, either. Among other things it would be a huge security hole.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: Location of original file uploaded via html form
    ... form on the client machine. ... Not in plain PHP, but you could add a hidden input field, into which you ... save the path set in the file-input field with help of javascript and ...
    (alt.php)
  • Re: Location of original file uploaded via html form
    ... kenoli wrote: ... form on the client machine. ... Not in plain PHP, but you could add a hidden input field, into which you save the path set in the file-input field with help of javascript and hope that the users using your form will have the javascript enabled. ...
    (alt.php)
  • RE: Accessing Session information from Javascript
    ... you can access via Javascript to inner value of that div ... This option gives you session information at the moment, ... Or access the hidden input field in the child frame from my main ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Can I get the form name from $_POST?
    ... any other form elements that are submitted. ... it's still used for CSS and javascript. ...
    (alt.php)
  • Detecting Clients scripting support
    ... I need to be able to detect, server side, if the client machine using my ... ASP.NET web app supports Javascript. ... I know there are browser object ...
    (microsoft.public.dotnet.framework.aspnet)