You are here: Re: why no $_POST[fupload] ? « HTML « IT news, forums, messages
Re: why no $_POST[fupload] ?

Posted by carlton on 11/26/48 11:55

Toby Inkster wrote:
> carlton wrote:
>
>
>>When I run the following page, the foreach ($_POST as $key=>$value)
>>lists the correct values for MAX_FILE_SIZE and password, but no value
>>for fupload, why is the requested file not being sent?
>
>
> Same reason there's no $_COOKIE[fupload], $_GET[fupload], $_SERVER[fupload]
> or $_SESSION[fupload].
>
> The reason is: because that's not where uploaded files live.
>
> Uploaded files live in $_FILES.
>
> http://uk2.php.net/manual/en/features.file-upload.php
>
Thanks very much for the help, much appreciated. I had taken the code
from a php text book, so I assumed it was OK.
Carlton.

 

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

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