You are here: Re: $_FILE variables returning null when in body of page. « PHP Programming Language « IT news, forums, messages
Re: $_FILE variables returning null when in body of page.

Posted by NC on 11/24/06 19:47

bill wrote:
>
> I wrote a test script to upload files. In the php section above
> the page I get the expected content of the $_FILES array.
>
> When I have a php section in the body, the $_FILES array
> variables return nothing.
....
> Any suggestions as to why I get the null returns from the
> $_FILE array ?

I would guess, there's something wrong with the form you are
using to upload files. Most likely, you forgot to specify
enctype="multipart/form-data" in your form definition...

Cheers,
NC

 

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

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