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 bill on 11/25/06 15:27

Michael Fesser wrote:
> .oO(bill)
>
>> Actually the file uploads fine, the $_FILES array gets loaded and
>> will display the values in the script that lives above the
>> webpage code. The $_FILES array returns null values when I have
>> a section of php in the body of the page.
>> here is some of my code:---------------------
>> [...]
>
> The code works here (PHP 5.2), except for
>
>> <?
>
> which should be <?php.
>
> Micha

Thanks Michael;

It turned out that I made a little error midway down the code.
While testing to see if the $_FILES array exists, I was setting
it to null.

Which explains a lot of problems.

Thanks.

bill

 

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

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