Posted by Jerry Stuckle on 12/27/06 01:31
detrox@gmail.com wrote:
> Hi, all
>
> I have two questions about uploading files using php & html:
> 1. How can i add a `file type' in the pop window when i click
> `browse' button of the `<input type=file>'.
> 2. How can i get the local path of the uploading file. btw, i know
> there's a $_FILE['userfile']['name'], but it only give me the name not
> the path.
>
> thx very much~~.
>
> ^_^ detrox
>
Peter already answered your first question. As for the second one - you
can't. Such would be a huge security gap by exposing the user's file
structure.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|