You are here: Re: questions about uploading file « PHP Programming Language « IT news, forums, messages
Re: questions about uploading file

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация