You are here: Re: Uploading files with an apostrophe in the filename « All PHP « IT news, forums, messages
Re: Uploading files with an apostrophe in the filename

Posted by shimmyshack on 05/13/07 21:55

On May 13, 10:45 pm, Alfred Molon <alfred_molonCAN...@yahoo.com>
wrote:
> In article <IuGdnaO5V-cm69rbnZ2dnUVZ_ovin...@giganews.com>, jmm-
> list.AXSPA...@sohnen-moe.com says...
>
> > Alfred Molon wrote:
>
> > > $picname = $_FILES['userfile']['name'];
> > > $tmp_picname = $_FILES['userfile']['tmp_name'];
> > > $pictype = $_FILES['userfile']['type'];
> > > $picsize = $_FILES['userfile']['size'];
>
> > Use double quotes instead?
>
> How... does that work? You mean perhaps the following?
>
> $picname = $_FILES[''userfile''][''name''];
> --
>
> Alfred Molonhttp://www.molon.de- Photos of Asia, Africa and Europe

alfred, i use php uploads with single quotes just fine, it copes with
a large range of characters including single quotes.
you say "the uploads dont work properly" but I am unclear as to what
that means, where does the process fail? I just think it's a coding/
config issue, the actual upload functionality will remain completely
unaffected - if your system is set up properly.

 

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

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