You are here: Re: How to restrict the files while uploading.. « All PHP « IT news, forums, messages
Re: How to restrict the files while uploading..

Posted by Geevaa on 09/27/07 08:57

On Sep 26, 4:19 pm, anu <anunanni2...@gmail.com> wrote:
> Hi,
>
> Wt im tell was whn files ve to upload from remote server i dnt want
> othr files to be uploaded in my sys ..
> fog eg: i want oly .txt files when v try to open it thr it cum lik
> this ALL FILES.. dnt want tat oly .txt files i need..
> so s thr any solution for that let it be knw ..
>
> Thank U,
> Anu

Anu,
I guess u want the files with extension .txt alone to be
uploaded ...Right???

use $_FILES[][] to find the name and type of the file and restrict the
files ..
refer php.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

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