Posted by hackajar on 12/25/06 09:09
On question #2:
do a "print_r($_FILE);" in your script. This may give you the answer
your looking for ;)
-hackajar
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
Navigation:
[Reply to this message]
|